minor fix deref_and_derefmut

pull/72/head
frbimo 4 years ago
parent 002d58311d
commit c67994c50d

@ -10366,8 +10366,8 @@ fn main() {
This prints:
```text
40
None
40
```
We can also implement `DerefMut` so we can change the values through `*`. It looks almost the same. You need `Deref` before you can implement `DerefMut`.

Loading…
Cancel
Save