From 45c949336b5c37b4465d764512afde392de62456 Mon Sep 17 00:00:00 2001 From: Zooko Wilcox-O'Hearn Date: Mon, 12 May 2014 04:10:31 +0000 Subject: [PATCH] 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 https://github.com/mozilla/rust/issues/13570 . --- src/doc/tutorial.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/tutorial.md b/src/doc/tutorial.md index 9b9153fe57946..3615b4fbe392c 100644 --- a/src/doc/tutorial.md +++ b/src/doc/tutorial.md @@ -474,7 +474,7 @@ often convenient to use a block expression for each case, in which case the commas are optional as shown below. Literals are valid patterns and match only their own value. A single arm may match multiple different patterns by combining them with the pipe operator (`|`), so long as every -pattern binds the same set of variables. Ranges of numeric literal +pattern binds the same set of variables (see below). Ranges of numeric literal patterns can be expressed with two dots, as in `M..N`. The underscore (`_`) is a wildcard pattern that matches any single value. (`..`) is a different wildcard that can match one or more fields in an `enum` variant.