Skip to content

Commit 0e5ed7a

Browse files
authored
Merge pull request #1084 from daerich/mutctx_typo
expressions.md: Attempt fixing broken grammar in Mutability paragraph
2 parents da6ea9b + daa0b48 commit 0e5ed7a

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)