From 1d69b81eef098732ea7e3b4062bdcf33710c8033 Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Thu, 11 Oct 2012 17:15:00 -0700 Subject: [PATCH] manual: "to" -> ".." --- doc/rust.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/rust.md b/doc/rust.md index a4ca7fbefce..ce1caacf221 100644 --- a/doc/rust.md +++ b/doc/rust.md @@ -2180,7 +2180,7 @@ match_expr : "match" expr '{' match_arm [ '|' match_arm ] * '}' ; match_arm : match_pat '=>' expr_or_blockish ; -match_pat : pat [ "to" pat ] ? [ "if" expr ] ; +match_pat : pat [ ".." pat ] ? [ "if" expr ] ; ~~~~~~~~