about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorBrendan Cully <brendan@kublai.com>2013-07-10 22:12:30 -0700
committerBrendan Cully <brendan@kublai.com>2013-07-10 22:12:30 -0700
commit202fcb29bd364bb2781928fef4551f0ac37e8e84 (patch)
tree850bbf350f3a9969dbd7395eb02e20e8c9f085e1 /src/libsyntax/parse/parser.rs
parente6e4f52bcf67e78bc0c796cd780fa01791923fdb (diff)
downloadrust-202fcb29bd364bb2781928fef4551f0ac37e8e84.tar.gz
rust-202fcb29bd364bb2781928fef4551f0ac37e8e84.zip
unnecessarily mutable variables
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
-rw-r--r--src/libsyntax/parse/parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index 114a8bf9d3d..05dda16214a 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -1074,7 +1074,7 @@ impl Parser {
     // This version of parse arg doesn't necessarily require
     // identifier names.
     pub fn parse_arg_general(&self, require_name: bool) -> arg {
-        let mut is_mutbl = self.eat_keyword(keywords::Mut);
+        let is_mutbl = self.eat_keyword(keywords::Mut);
         let pat = if require_name || self.is_named_argument() {
             self.parse_arg_mode();
             let pat = self.parse_pat();