Skip to content

Commit fac7fcc

Browse files
committed
syntax: Remove extra 'mut' from bad word table
1 parent 4c26d70 commit fac7fcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustsyntax/parse/parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ fn bad_expr_word_table() -> hashmap<str, ()> {
146146
let keys = ["alt", "assert", "be", "break", "check", "claim",
147147
"class", "const", "cont", "copy", "crust", "do", "else",
148148
"enum", "export", "fail", "fn", "for", "if", "iface",
149-
"impl", "import", "let", "log", "loop", "mod", "mut",
149+
"impl", "import", "let", "log", "loop", "mod",
150150
"mut", "native", "pure", "resource", "ret", "trait",
151151
"type", "unchecked", "unsafe", "while", "new"];
152152
for keys.each {|word|

0 commit comments

Comments
 (0)