From abef5f54c99ab8a6a1ea73c9b946557c13caf719 Mon Sep 17 00:00:00 2001 From: Lindsey Kuper Date: Thu, 31 May 2012 10:43:11 -0700 Subject: syntax: get rid of redundant case --- src/libsyntax/parse/parser.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/libsyntax/parse') 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 { -- cgit 1.4.1-3-g733a5