Skip to content

Commit 14fc747

Browse files
committed
---
yaml --- r: 33235 b: refs/heads/snap-stage3 c: 2c34ffa h: refs/heads/master i: 33233: 410341d 33231: a93d5d5 v: v3
1 parent 1f96e0f commit 14fc747

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: c46706fffdfc54fcb19fee543e6ad8a4c4b79ca4
4+
refs/heads/snap-stage3: 2c34ffa26f4850c7bb648ebab0952b8a78874f12
55
refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/doc/rust.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1476,11 +1476,15 @@ Expressions are divided into two main categories: _lvalues_ and _rvalues_.
14761476
Likewise within each expression, sub-expressions may occur in _lvalue context_ or _rvalue context_.
14771477
The evaluation of an expression depends both on its own category and the context it occurs within.
14781478

1479-
Path, field and index expressions are lvalues.
1479+
[Path](#path-expressions), [field](#field-expressions) and [index](#index-expressions) expressions are lvalues.
14801480
All other expressions are rvalues.
14811481

1482-
The left operand of an assignment, compound-assignment, or binary move expression is an lvalue context,
1483-
as is the single operand of a borrow, unary copy or move expression, and _both_ operands of a swap expression.
1482+
The left operand of an [assignment](#assignment-expressions) or
1483+
[compound-assignment](#compound-assignment-expressions) expression is an lvalue context,
1484+
as is the single operand of a unary [borrow](#unary-operator-expressions),
1485+
or [move](#unary-move-expressions) expression,
1486+
and _both_ operands of a [swap](#swap-expressions)
1487+
or [binary move](#binary-move-expressions) expression.
14841488
All other expression contexts are rvalue contexts.
14851489

14861490
When an lvalue is evaluated in an _lvalue context_, it denotes a memory location;

0 commit comments

Comments
 (0)