Rollup merge of #25322 - frewsxcv:patch-23, r=steveklabnik
`if` can be a statement or also an expression.
This commit is contained in:
commit
e216057dac
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ let x = true;
|
|||
let y: bool = false;
|
||||
```
|
||||
|
||||
A common use of booleans is in [`if` statements][if].
|
||||
A common use of booleans is in [`if` conditionals][if].
|
||||
|
||||
[if]: if.html
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue