about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorTang Chenglong <ideami@outlook.com>2016-03-23 12:03:41 +0800
committerTang Chenglong <ideami@outlook.com>2016-03-23 12:03:41 +0800
commitea9ae486627fec2ff613bef73ccda612996d8f6f (patch)
treea91f7e44a21c8f4aec00b2414ab74f38a20eca22 /src
parent0dcc413e42f15f4fc51a0ca88a99cc89454ec43d (diff)
downloadrust-ea9ae486627fec2ff613bef73ccda612996d8f6f.tar.gz
rust-ea9ae486627fec2ff613bef73ccda612996d8f6f.zip
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.
Diffstat (limited to 'src')
-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