From ea9ae486627fec2ff613bef73ccda612996d8f6f Mon Sep 17 00:00:00 2001 From: Tang Chenglong Date: Wed, 23 Mar 2016 12:03:41 +0800 Subject: [PATCH] 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. --- src/doc/book/patterns.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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