From e7dd3618d78928322f53a20e2947e428b12eda2b Mon Sep 17 00:00:00 2001 From: Nurbol Alpysbayev Date: Tue, 3 Mar 2020 17:12:15 +0600 Subject: [PATCH] A typo? --- src/interior-mutability.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interior-mutability.md b/src/interior-mutability.md index 1133bc797..e786d5649 100644 --- a/src/interior-mutability.md +++ b/src/interior-mutability.md @@ -1,6 +1,6 @@ # Interior Mutability -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 is achieved using a pattern called _interior mutability_. A type has interior mutability if its internal state can be changed through a [shared reference] to it. This goes against the usual [requirement][ub] that the value pointed to by a