diff options
| author | Brendan Cully <brendan@kublai.com> | 2013-07-10 22:12:30 -0700 |
|---|---|---|
| committer | Brendan Cully <brendan@kublai.com> | 2013-07-10 22:12:30 -0700 |
| commit | 202fcb29bd364bb2781928fef4551f0ac37e8e84 (patch) | |
| tree | 850bbf350f3a9969dbd7395eb02e20e8c9f085e1 /src/libsyntax/parse/parser.rs | |
| parent | e6e4f52bcf67e78bc0c796cd780fa01791923fdb (diff) | |
| download | rust-202fcb29bd364bb2781928fef4551f0ac37e8e84.tar.gz rust-202fcb29bd364bb2781928fef4551f0ac37e8e84.zip | |
unnecessarily mutable variables
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 2 |
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(); |
