1
Fork 0

libsyntax: Remove duplicate methods.

This commit is contained in:
Luqman Aden 2013-06-12 02:45:07 -04:00
parent 47772bcb73
commit aa9a992f3e
2 changed files with 0 additions and 12 deletions

View file

@ -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 {