Skip to content

Commit 45c9493

Browse files
author
Zooko Wilcox-O'Hearn
committed
add "(see below)" to a reference to a new concept
This is because I observed someone reading the tutorial who thought they'd missed something when they got to the mention of variable bindings. Fixes rust-lang#13570 .
1 parent c690bda commit 45c9493

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ often convenient to use a block expression for each case, in which case
474474
the commas are optional as shown below. Literals are valid patterns and
475475
match only their own value. A single arm may match multiple different
476476
patterns by combining them with the pipe operator (`|`), so long as every
477-
pattern binds the same set of variables. Ranges of numeric literal
477+
pattern binds the same set of variables (see below). Ranges of numeric literal
478478
patterns can be expressed with two dots, as in `M..N`. The underscore
479479
(`_`) is a wildcard pattern that matches any single value. (`..`) is a
480480
different wildcard that can match one or more fields in an `enum` variant.

0 commit comments

Comments
 (0)