about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorJohn Barker <jebarker@gmail.com>2013-07-09 10:21:25 -0400
committerJohn Barker <jebarker@gmail.com>2013-07-09 10:21:25 -0400
commit56d198757583f2eb76f7a5fc29082004bf661112 (patch)
tree54266a1cf5a875cc68019e8dc79dc72305b7652b /src/libsyntax/parse/parser.rs
parenteaaf3f67ab1a4dfa2881328bd4614bb005f0748d (diff)
downloadrust-56d198757583f2eb76f7a5fc29082004bf661112.tar.gz
rust-56d198757583f2eb76f7a5fc29082004bf661112.zip
Don't use static default method
 - also removed redundant assignment to is_mutbl
 - updated copyright
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
-rw-r--r--src/libsyntax/parse/parser.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index e8e7828e465..114a8bf9d3d 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -1086,7 +1086,6 @@ impl Parser {
             self.expect(&token::COLON);
             pat
         } else {
-            is_mutbl = false;
             ast_util::ident_to_pat(self.get_id(),
                                    *self.last_span,
                                    special_idents::invalid)