diff options
| author | Luqman Aden <laden@csclub.uwaterloo.ca> | 2013-06-12 02:45:07 -0400 |
|---|---|---|
| committer | Luqman Aden <laden@csclub.uwaterloo.ca> | 2013-06-12 02:46:38 -0400 |
| commit | aa9a992f3e4134f06bd005fb3299688ac6314659 (patch) | |
| tree | 856dd904585d2f83a5e9e46c0d9461e102f8db20 /src/libsyntax/parse | |
| parent | 47772bcb737b229586cc9a9d96a9abda005b907c (diff) | |
| download | rust-aa9a992f3e4134f06bd005fb3299688ac6314659.tar.gz rust-aa9a992f3e4134f06bd005fb3299688ac6314659.zip | |
libsyntax: Remove duplicate methods.
Diffstat (limited to 'src/libsyntax/parse')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 7 |
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 { |
