Skip to content

Commit 8e5873c

Browse files
authored
Merge pull request #770 from anurbol/patch-1
A typo?
2 parents 559e09c + e7dd361 commit 8e5873c

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)