Skip to content

Commit 8c984de

Browse files
committed
One line one sentence the statements and expressions chapter.
1 parent da903cf commit 8c984de

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

src/statements-and-expressions.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
# Statements and expressions
22

3-
Rust is _primarily_ an expression language. This means that most forms of
4-
value-producing or effect-causing evaluation are directed by the uniform syntax
5-
category of _expressions_. Each kind of expression can typically _nest_ within
6-
each other kind of expression, and rules for evaluation of expressions involve
7-
specifying both the value produced by the expression and the order in which its
8-
sub-expressions are themselves evaluated.
3+
Rust is _primarily_ an expression language.
4+
This means that most forms of value-producing or effect-causing evaluation are directed by the uniform syntax category of _expressions_.
5+
Each kind of expression can typically _nest_ within each other kind of expression, and rules for evaluation of expressions involve specifying both the value produced by the expression and the order in which its sub-expressions are themselves evaluated.
96

10-
In contrast, statements serve _mostly_ to contain and explicitly
11-
sequence expression evaluation.
7+
In contrast, statements serve _mostly_ to contain and explicitly sequence expression evaluation.

0 commit comments

Comments
 (0)