Skip to content

Commit e7dd361

Browse files
authored
A typo?
1 parent 559e09c commit e7dd361

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/interior-mutability.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Interior Mutability
22

3-
Sometimes a type needs be mutated while having multiple aliases. In Rust this
3+
Sometimes a type needs to be mutated while having multiple aliases. In Rust this
44
is achieved using a pattern called _interior mutability_. A type has interior
55
mutability if its internal state can be changed through a [shared reference] to
66
it. This goes against the usual [requirement][ub] that the value pointed to by a

0 commit comments

Comments
 (0)