We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 559e09c + e7dd361 commit 8e5873cCopy full SHA for 8e5873c
src/interior-mutability.md
@@ -1,6 +1,6 @@
1
# Interior Mutability
2
3
-Sometimes a type needs be mutated while having multiple aliases. In Rust this
+Sometimes a type needs to be mutated while having multiple aliases. In Rust this
4
is achieved using a pattern called _interior mutability_. A type has interior
5
mutability if its internal state can be changed through a [shared reference] to
6
it. This goes against the usual [requirement][ub] that the value pointed to by a
0 commit comments