Skip to content

Commit 9360ab9

Browse files
committed
Assignment expressions are *NOT* LTR evaluated.
This commit does not try to define their evaluation order, they just removed them from the list of shared LTR evaluated expressions.
1 parent 8458c78 commit 9360ab9

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

src/expressions.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,12 @@ The following list of expressions all evaluate their operands the same way, as
9090
described after the list. Other expressions either don't take operands or
9191
evaluate them conditionally as described on their respective pages.
9292

93-
* Operator expressions (except the Lazy boolean operators)
93+
* Dereference expression
94+
* Error propagation expression
95+
* Negation expression
96+
* Arithmetic and logical binary operators
97+
* Comparison operators
98+
* Type cast expression
9499
* Grouped expression
95100
* Array expression
96101
* Await expression
@@ -127,9 +132,9 @@ assert_eq!(
127132
);
128133
```
129134

130-
> **Note**: Since this is applied recursively, expressions are also evaluated
131-
> from innermost to outermost, ignoring siblings until there are no inner
132-
> subexpressions.
135+
> **Note**: Since this is applied recursively, these expressions are also
136+
> evaluated from innermost to outermost, ignoring siblings until there are no
137+
> inner subexpressions.
133138
134139
## Place Expressions and Value Expressions
135140

0 commit comments

Comments
 (0)