Skip to content

Commit 5096ce6

Browse files
committed
Rollup merge of rust-lang#25322 - frewsxcv:patch-23, r=steveklabnik
`if` can be a statement or also an expression.
2 parents b814884 + d13f765 commit 5096ce6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/trpl/primitive-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ let x = true;
1515
let y: bool = false;
1616
```
1717

18-
A common use of booleans is in [`if` statements][if].
18+
A common use of booleans is in [`if` conditionals][if].
1919

2020
[if]: if.html
2121

0 commit comments

Comments
 (0)