Skip to content

Commit daa0b48

Browse files
author
DaErich
committed
expressions.md: Attempt fixing broken grammar in Mutability paragraph
1 parent da6ea9b commit daa0b48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/expressions.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ The following expressions can be mutable place expression contexts:
206206
* Dereference of a variable, or field of a variable, with type `&mut T`. Note:
207207
This is an exception to the requirement of the next rule.
208208
* Dereferences of a type that implements `DerefMut`: this then requires that
209-
the value being dereferenced is evaluated is a mutable place expression context.
209+
the value being dereferenced is evaluated in a mutable place expression context.
210210
* [Array indexing] of a type that implements `IndexMut`: this
211211
then evaluates the value being indexed, but not the index, in mutable place
212212
expression context.

0 commit comments

Comments
 (0)