about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2015-05-12 00:33:22 -0400
committerCorey Farwell <coreyf@rwell.org>2015-05-12 00:33:22 -0400
commitd13f765be8d202450bf106057e19d6bd57f51f6c (patch)
treed1ecc331206fe00f6bc3b15afa6fa6754819d212
parent4b88e8f63eeaf557c916a0a1e73150b028c44c52 (diff)
downloadrust-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.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