diff options
| author | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2016-03-23 17:59:16 +0200 |
|---|---|---|
| committer | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2016-03-23 17:59:16 +0200 |
| commit | 2e9b40f57638303d81eb9731784732e6491f0082 (patch) | |
| tree | e468c74c1fbaff851198658a587b4fe1b5ac8656 | |
| parent | 7f2612e66ce8dd77329fa0983a3a01bcac129368 (diff) | |
| parent | ea9ae486627fec2ff613bef73ccda612996d8f6f (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.md | 2 |
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 |
