You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: STYLE.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,8 +63,8 @@ Facets may not inherit other contracts or interfaces.
63
63
```
64
64
65
65
## 8. Avoid Assembly
66
-
- Avoid using assembly if you can. If you can't and you access memory, do it safely, and use `assembly ("memory-safe")`.
67
-
`"memory safe"` tells the Solidity compiler not to skip optimizations because memory is being safely used.
66
+
- Avoid using assembly if you can. If you can't and you access memory, do it [safely](https://docs.soliditylang.org/en/latest/assembly.html#memory-safety), and use `assembly ("memory-safe")`.
67
+
`"memory safe"` tells the Solidity compiler that memory is being used safely so it should not disable optimizations.
0 commit comments