Skip to content

Commit 46608e0

Browse files
committed
---
yaml --- r: 35847 b: refs/heads/try2 c: 2c34ffa h: refs/heads/master i: 35845: 20ca8c7 35843: 37dacfd 35839: 05ec633 v: v3
1 parent 9f7b296 commit 46608e0

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
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: eb8fd119c65c67f3b1b8268cc7341c22d39b7b61
55
refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: c46706fffdfc54fcb19fee543e6ad8a4c4b79ca4
8+
refs/heads/try2: 2c34ffa26f4850c7bb648ebab0952b8a78874f12
99
refs/heads/incoming: d9317a174e434d4c99fc1a37fd7dc0d2f5328d37
1010
refs/heads/dist-snap: 22efa39382d41b084fde1719df7ae8ce5697d8c9
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/try2/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)