Skip to content

Commit 1f5f081

Browse files
authored
Fix mixing up place expr with place expr ctx
1 parent 2dfed35 commit 1f5f081

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/expressions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ r[expr.mut.intro]
223223
For a place expression to be [assigned][assign] to, mutably [borrowed][borrow], [implicitly mutably borrowed], or bound to a pattern containing `ref mut`, it must be _mutable_. We call these *mutable place expressions*. In contrast, other place expressions are called *immutable place expressions*.
224224

225225
r[expr.mut.valid-places]
226-
The following expressions can be mutable place expression contexts:
226+
The following expressions can be mutable:
227227

228228
* Mutable [variables] which are not currently borrowed.
229229
* [Mutable `static` items].

0 commit comments

Comments
 (0)