about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorMichael Sullivan <sully@msully.net>2013-06-04 15:14:56 -0700
committerMichael Sullivan <sully@msully.net>2013-06-06 12:14:41 -0700
commit8bbf83b62a901039ea9e5e6a92b664f2d3c72b9c (patch)
tree9fd129fcd914f75a3325f6330c6e7f5ecde05826 /src/libsyntax/parse/parser.rs
parent8450dc8f5e7616617d707f8fdbfaf7ad6ad5aa41 (diff)
downloadrust-8bbf83b62a901039ea9e5e6a92b664f2d3c72b9c.tar.gz
rust-8bbf83b62a901039ea9e5e6a92b664f2d3c72b9c.zip
Clean up a handful of build warnings.
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 a6b67ccea9d..300e5adcf92 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -2573,7 +2573,7 @@ impl Parser {
     fn parse_let(&self) -> @decl {
         let is_mutbl = self.eat_keyword(keywords::Mut);
         let lo = self.span.lo;
-        let mut local = self.parse_local(is_mutbl);
+        let local = self.parse_local(is_mutbl);
         while self.eat(&token::COMMA) {
             let _ = self.parse_local(is_mutbl);
             self.obsolete(*self.span, ObsoleteMultipleLocalDecl);