From daa0b4858eec6736c27f50920bce7ab50e3ae65a Mon Sep 17 00:00:00 2001 From: DaErich Date: Sat, 28 Aug 2021 20:06:49 +0200 Subject: [PATCH] expressions.md: Attempt fixing broken grammar in Mutability paragraph --- src/expressions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/expressions.md b/src/expressions.md index b0b7e8f8c..88f7fbac9 100644 --- a/src/expressions.md +++ b/src/expressions.md @@ -206,7 +206,7 @@ The following expressions can be mutable place expression contexts: * Dereference of a variable, or field of a variable, with type `&mut T`. Note: This is an exception to the requirement of the next rule. * Dereferences of a type that implements `DerefMut`: this then requires that - the value being dereferenced is evaluated is a mutable place expression context. + the value being dereferenced is evaluated in a mutable place expression context. * [Array indexing] of a type that implements `IndexMut`: this then evaluates the value being indexed, but not the index, in mutable place expression context.