about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEduard-Mihai Burtescu <edy.burt@gmail.com>2016-03-23 17:59:16 +0200
committerEduard-Mihai Burtescu <edy.burt@gmail.com>2016-03-23 17:59:16 +0200
commit2e9b40f57638303d81eb9731784732e6491f0082 (patch)
treee468c74c1fbaff851198658a587b4fe1b5ac8656
parent7f2612e66ce8dd77329fa0983a3a01bcac129368 (diff)
parentea9ae486627fec2ff613bef73ccda612996d8f6f (diff)
Rollup merge of #32443 - tclfs:patch-8, r=steveklabnik
Docs: Change "statements" to "expressions" on `match`

I apt to use `expressions` over `statements`, because `match` is a expression in essence, though it can become a statement when followed a semicolon.
-rw-r--r--src/doc/book/patterns.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/book/patterns.md b/src/doc/book/patterns.md
index 7325d448962..7ecfdcfcc1e 100644
--- a/src/doc/book/patterns.md
+++ b/src/doc/book/patterns.md
@@ -1,7 +1,7 @@
 % Patterns
 
 Patterns are quite common in Rust. We use them in [variable
-bindings][bindings], [match statements][match], and other places, too. Let’s go
+bindings][bindings], [match expressions][match], and other places, too. Let’s go
 on a whirlwind tour of all of the things patterns can do!
 
 [bindings]: variable-bindings.html