about summary refs log tree commit diff
path: root/src/librustsyntax/parse
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-04-17 14:22:47 -0700
committerBrian Anderson <banderson@mozilla.com>2012-04-17 14:22:47 -0700
commitfac7fcc1234aca0969a4a9c6eeddaf21a25b73fe (patch)
treefbcd9b3c4f9c4654498d42120cfcd7746a58183d /src/librustsyntax/parse
parent4c26d70a0a2e948c2906c0d5b7b4e2f87139ce9e (diff)
downloadrust-fac7fcc1234aca0969a4a9c6eeddaf21a25b73fe.tar.gz
rust-fac7fcc1234aca0969a4a9c6eeddaf21a25b73fe.zip
syntax: Remove extra 'mut' from bad word table
Diffstat (limited to 'src/librustsyntax/parse')
-rw-r--r--src/librustsyntax/parse/parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustsyntax/parse/parser.rs b/src/librustsyntax/parse/parser.rs
index 93bc76e37b4..eaa6a1c6d8f 100644
--- a/src/librustsyntax/parse/parser.rs
+++ b/src/librustsyntax/parse/parser.rs
@@ -146,7 +146,7 @@ fn bad_expr_word_table() -> hashmap<str, ()> {
     let keys = ["alt", "assert", "be", "break", "check", "claim",
                 "class", "const", "cont", "copy", "crust", "do", "else",
                 "enum", "export", "fail", "fn", "for", "if",  "iface",
-                "impl", "import", "let", "log", "loop", "mod", "mut",
+                "impl", "import", "let", "log", "loop", "mod",
                 "mut", "native", "pure", "resource", "ret", "trait",
                 "type", "unchecked", "unsafe", "while", "new"];
     for keys.each {|word|