about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-07-11 05:40:36 -0700
committerbors <bors@rust-lang.org>2013-07-11 05:40:36 -0700
commit323ac9931b9636a3989c408f5d142803240192d0 (patch)
treea295d3a02dfe235eda1a9f1b44283b740085b480 /src/libsyntax/parse/parser.rs
parent06accaf22b51e729142ce952caa0102aae7aa2da (diff)
parent990dc435aaf4861c6c57d2f94e3964b6c0918a87 (diff)
downloadrust-323ac9931b9636a3989c408f5d142803240192d0.tar.gz
rust-323ac9931b9636a3989c408f5d142803240192d0.zip
auto merge of #7708 : bcully/rust/warnings, r=thestinger
Just getting my feet wet.
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();