Skip to content

Commit d13f765

Browse files
committed
Make mention of if more generic
`if` can be a statement or also an expression.
1 parent 4b88e8f commit d13f765

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/trpl/primitive-types.md

+1-1
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)