Skip to content

Commit 1d69b81

Browse files
committed
manual: "to" -> ".."
1 parent 515f88f commit 1d69b81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/rust.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2180,7 +2180,7 @@ match_expr : "match" expr '{' match_arm [ '|' match_arm ] * '}' ;
21802180
21812181
match_arm : match_pat '=>' expr_or_blockish ;
21822182
2183-
match_pat : pat [ "to" pat ] ? [ "if" expr ] ;
2183+
match_pat : pat [ ".." pat ] ? [ "if" expr ] ;
21842184
~~~~~~~~
21852185

21862186

0 commit comments

Comments
 (0)