Skip to content

Commit f2e3b36

Browse files
committed
Improved STYLE.md
1 parent 89544fd commit f2e3b36

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

STYLE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ Facets may not inherit other contracts or interfaces.
6363
```
6464
6565
## 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.
6868
- Example:
6969
```solidity
7070
assembly ("memory-safe") {

0 commit comments

Comments
 (0)