mirror of
https://github.com/rust-lang/book.git
synced 2026-09-15 08:59:17 -04:00
Merge pull request #636 from dnaeon/if-expression
chapter03: `if` is an expression, not a statement
This commit is contained in:
@@ -174,7 +174,7 @@ fn main() {
|
||||
```
|
||||
|
||||
The main way to consume boolean values is through conditionals, such as an `if`
|
||||
statement. We’ll cover how `if` statements work in Rust in the “Control Flow”
|
||||
expression. We’ll cover how `if` expressions work in Rust in the “Control Flow”
|
||||
section.
|
||||
|
||||
#### The Character Type
|
||||
|
||||
Reference in New Issue
Block a user