We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fe1476 commit 294c216Copy full SHA for 294c216
src/idiomatic/leveraging-the-type-system/newtype-pattern/is-it-encapsulated.md
@@ -36,7 +36,7 @@ impl DerefMut for Username {
36
37
<details>
38
39
-- `DerefMut` allows users to get a mutable reference to the wrapped type.
+- `DerefMut` allows users to get a mutable reference to the wrapped value.
40
41
The mutable reference can be used to modify the underlying data in ways that
42
may violate the invariants enforced by `Username::new`!
0 commit comments