Skip to content

Commit

Permalink
Merge pull request #840 from tossbyte/fix-trait-name
Browse files Browse the repository at this point in the history
Fix name of trait for array indexing.
  • Loading branch information
ehuss authored Jun 29, 2020
2 parents 04d5d5d + 8c45228 commit 8c31315
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 @@ -155,7 +155,7 @@ The following expressions can be mutable place expression contexts:
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.
* [Array indexing] of a type that implements `DerefMut`, this
* [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 8c31315

Please sign in to comment.