about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-05-12 22:57:52 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-05-12 22:57:52 +0530
commite216057dac596904478430858affa1e0bf2cf7d7 (patch)
tree5a70451833f82b8c7f4ce099f470f54fe0c7b678
parentbb15c4762dc6eceb8e34a521e0e6ab627066f314 (diff)
parentd13f765be8d202450bf106057e19d6bd57f51f6c (diff)
downloadrust-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.md2
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