about summary refs log tree commit diff
path: root/src/librustsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-04-21 13:42:54 -0700
committerBrian Anderson <banderson@mozilla.com>2012-04-21 14:27:20 -0700
commit7235f3cee2fd7ceaf697232cd2a2c3b9ceba50ba (patch)
tree7975eaca185228b91002ece0e71ff6673999381d /src/librustsyntax/parse/parser.rs
parent734494a04dc3be4745c89a1b9d0361c3a45ddfb4 (diff)
downloadrust-7235f3cee2fd7ceaf697232cd2a2c3b9ceba50ba.tar.gz
rust-7235f3cee2fd7ceaf697232cd2a2c3b9ceba50ba.zip
syntax: Eliminate 'mutable' keyword. Closes #2254
Diffstat (limited to 'src/librustsyntax/parse/parser.rs')
-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 4131d3eca96..46ccb09b220 100644
--- a/src/librustsyntax/parse/parser.rs
+++ b/src/librustsyntax/parse/parser.rs
@@ -1484,7 +1484,7 @@ fn parse_let(p: parser) -> @ast::decl {
 fn parse_instance_var(p:parser, pr: ast::privacy) -> @ast::class_member {
     let mut is_mutbl = ast::class_immutable;
     let lo = p.span.lo;
-    if eat_word(p, "mut") || eat_word(p, "mutable") {
+    if eat_word(p, "mut") {
         is_mutbl = ast::class_mutable;
     }
     if !is_plain_ident(p.token) {