diff options
| author | Lindsey Kuper <lindsey@rockstargirl.org> | 2012-05-31 10:43:11 -0700 |
|---|---|---|
| committer | Lindsey Kuper <lindsey@rockstargirl.org> | 2012-05-31 12:20:25 -0700 |
| commit | abef5f54c99ab8a6a1ea73c9b946557c13caf719 (patch) | |
| tree | 65e1713f24ead890c68139100d048feb49586f95 /src/libsyntax/parse | |
| parent | 6ef458252bcf8b09925513d082fc728f502d466b (diff) | |
| download | rust-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.rs | 2 |
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 { |
