diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-05-12 22:57:52 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-05-12 22:57:52 +0530 |
| commit | e216057dac596904478430858affa1e0bf2cf7d7 (patch) | |
| tree | 5a70451833f82b8c7f4ce099f470f54fe0c7b678 | |
| parent | bb15c4762dc6eceb8e34a521e0e6ab627066f314 (diff) | |
| parent | d13f765be8d202450bf106057e19d6bd57f51f6c (diff) | |
| download | rust-e216057dac596904478430858affa1e0bf2cf7d7.tar.gz rust-e216057dac596904478430858affa1e0bf2cf7d7.zip | |
Rollup merge of #25322 - frewsxcv:patch-23, r=steveklabnik
`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 |
