Skip to content

Commit 294c216

Browse files
Update src/idiomatic/leveraging-the-type-system/newtype-pattern/is-it-encapsulated.md
Co-authored-by: Dmitri Gribenko <[email protected]>
1 parent 3fe1476 commit 294c216

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/idiomatic/leveraging-the-type-system/newtype-pattern/is-it-encapsulated.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ impl DerefMut for Username {
3636

3737
<details>
3838

39-
- `DerefMut` allows users to get a mutable reference to the wrapped type.
39+
- `DerefMut` allows users to get a mutable reference to the wrapped value.
4040

4141
The mutable reference can be used to modify the underlying data in ways that
4242
may violate the invariants enforced by `Username::new`!

0 commit comments

Comments
 (0)