Skip to content

Commit

Permalink
Docs: Change "statements" to "expressions" on match
Browse files Browse the repository at this point in the history
I apt to use `expressions` over `statements`, because `match` is a expression in essence, though it can become a statement when followed a semicolon.
  • Loading branch information
tclfs committed Mar 23, 2016
1 parent 0dcc413 commit ea9ae48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/book/patterns.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit ea9ae48

Please sign in to comment.