about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorLindsey Kuper <lindsey@rockstargirl.org>2012-05-31 10:43:11 -0700
committerLindsey Kuper <lindsey@rockstargirl.org>2012-05-31 12:20:25 -0700
commitabef5f54c99ab8a6a1ea73c9b946557c13caf719 (patch)
tree65e1713f24ead890c68139100d048feb49586f95 /src/libsyntax/parse
parent6ef458252bcf8b09925513d082fc728f502d466b (diff)
downloadrust-abef5f54c99ab8a6a1ea73c9b946557c13caf719.tar.gz
rust-abef5f54c99ab8a6a1ea73c9b946557c13caf719.zip
syntax: get rid of redundant case
Diffstat (limited to 'src/libsyntax/parse')
-rw-r--r--src/libsyntax/parse/parser.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index 8594aed9776..3cb40befa0e 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -639,8 +639,6 @@ class parser {
     fn parse_mutability() -> mutability {
         if self.eat_keyword("mut") {
             m_mutbl
-        } else if self.eat_keyword("mut") {
-            m_mutbl
         } else if self.eat_keyword("const") {
             m_const
         } else {