mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-26 14:43:24 +00:00
manual: add section for path expressions.
This commit is contained in:
parent
43fd84a607
commit
009cf535a4
@ -1503,6 +1503,11 @@ string, boolean value, or the nil value.
|
||||
5; // integer type
|
||||
~~~~~~~~
|
||||
|
||||
### Path expressions
|
||||
|
||||
A [path](#paths) used as an expression context denotes either a local variable or an item.
|
||||
Path expressions are [lvalues](#lvalues-rvalues-and-temporaries).
|
||||
|
||||
### Tuple expressions
|
||||
|
||||
Tuples are written by enclosing two or more comma-separated
|
||||
|
Loading…
Reference in New Issue
Block a user