Skip to content

Commit

Permalink
Merge pull request #1084 from daerich/mutctx_typo
Browse files Browse the repository at this point in the history
expressions.md: Attempt fixing broken grammar in Mutability paragraph
  • Loading branch information
JohnTitor authored Aug 29, 2021
2 parents da6ea9b + daa0b48 commit 0e5ed7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/expressions.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 0e5ed7a

Please sign in to comment.