diff options
| author | Corey Farwell <coreyf@rwell.org> | 2015-05-12 00:33:22 -0400 |
|---|---|---|
| committer | Corey Farwell <coreyf@rwell.org> | 2015-05-12 00:33:22 -0400 |
| commit | d13f765be8d202450bf106057e19d6bd57f51f6c (patch) | |
| tree | d1ecc331206fe00f6bc3b15afa6fa6754819d212 | |
| parent | 4b88e8f63eeaf557c916a0a1e73150b028c44c52 (diff) | |
| download | rust-d13f765be8d202450bf106057e19d6bd57f51f6c.tar.gz rust-d13f765be8d202450bf106057e19d6bd57f51f6c.zip | |
Make mention of `if` more generic
`if` can be a statement or also an expression.
| -rw-r--r-- | src/doc/trpl/primitive-types.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/trpl/primitive-types.md b/src/doc/trpl/primitive-types.md index bb2bf028700..22483816769 100644 --- a/src/doc/trpl/primitive-types.md +++ b/src/doc/trpl/primitive-types.md @@ -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 |
