about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorLuqman Aden <laden@csclub.uwaterloo.ca>2013-06-12 02:45:07 -0400
committerLuqman Aden <laden@csclub.uwaterloo.ca>2013-06-12 02:46:38 -0400
commitaa9a992f3e4134f06bd005fb3299688ac6314659 (patch)
tree856dd904585d2f83a5e9e46c0d9461e102f8db20 /src/libsyntax/parse
parent47772bcb737b229586cc9a9d96a9abda005b907c (diff)
downloadrust-aa9a992f3e4134f06bd005fb3299688ac6314659.tar.gz
rust-aa9a992f3e4134f06bd005fb3299688ac6314659.zip
libsyntax: Remove duplicate methods.
Diffstat (limited to 'src/libsyntax/parse')
-rw-r--r--src/libsyntax/parse/parser.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index 03b4c0c5ca1..8dd80be4f9c 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -1063,13 +1063,6 @@ impl Parser {
         }
     }
 
-    pub fn token_is_lifetime(&self, tok: &token::Token) -> bool {
-        match *tok {
-            token::LIFETIME(_) => true,
-            _ => false
-        }
-    }
-
     /// Parses a single lifetime
     // matches lifetime = ( LIFETIME ) | ( IDENT / )
     pub fn parse_lifetime(&self) -> ast::Lifetime {