Skip to content

Commit

Permalink
Reference: Fix list in Expressions section
Browse files Browse the repository at this point in the history
  • Loading branch information
cakebaker committed Nov 13, 2014
1 parent 82f3838 commit e8056a4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/doc/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

5 comments on commit e8056a4

@bors
Copy link
Contributor

@bors bors commented on e8056a4 Nov 15, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from steveklabnik
at cakebaker@e8056a4

@bors
Copy link
Contributor

@bors bors commented on e8056a4 Nov 15, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging cakebaker/rust/fix_list = e8056a4 into auto

@bors
Copy link
Contributor

@bors bors commented on e8056a4 Nov 15, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cakebaker/rust/fix_list = e8056a4 merged ok, testing candidate = 7e43f41

@bors
Copy link
Contributor

@bors bors commented on e8056a4 Nov 15, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on e8056a4 Nov 15, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = 7e43f41

Please sign in to comment.