Skip to content

Commit 009cf53

Browse files
committed
manual: add section for path expressions.
1 parent 43fd84a commit 009cf53

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

doc/rust.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1503,6 +1503,11 @@ string, boolean value, or the nil value.
15031503
5; // integer type
15041504
~~~~~~~~
15051505

1506+
### Path expressions
1507+
1508+
A [path](#paths) used as an expression context denotes either a local variable or an item.
1509+
Path expressions are [lvalues](#lvalues-rvalues-and-temporaries).
1510+
15061511
### Tuple expressions
15071512

15081513
Tuples are written by enclosing two or more comma-separated

0 commit comments

Comments
 (0)