mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
Reference: Fix list in Expressions section
This commit is contained in:
parent
82f383839c
commit
e8056a452f
@ -2653,9 +2653,10 @@ An expression may have two roles: it always produces a *value*, and it may have
|
||||
value, and has effects during *evaluation*. Many expressions contain
|
||||
sub-expressions (operands). The meaning of each kind of expression dictates
|
||||
several things:
|
||||
* Whether or not to evaluate the sub-expressions when evaluating the
|
||||
* expression The order in which to evaluate the sub-expressions How to
|
||||
* combine the sub-expressions' values to obtain the value of the expression.
|
||||
|
||||
* Whether or not to evaluate the sub-expressions when evaluating the expression
|
||||
* The order in which to evaluate the sub-expressions
|
||||
* How to combine the sub-expressions' values to obtain the value of the expression
|
||||
|
||||
In this way, the structure of expressions dictates the structure of execution.
|
||||
Blocks are just another kind of expression, so blocks, statements, expressions,
|
||||
|
Loading…
Reference in New Issue
Block a user