1
Fork 0

Incorporate review feedback. Fix #8468.

This commit is contained in:
Felix S. Klock II 2013-09-03 11:15:41 +02:00
parent ba1f44d24f
commit 1b3cd960de

View file

@ -348,10 +348,7 @@ impl Drop for Parser {
}
fn is_plain_ident_or_underscore(t: &token::Token) -> bool {
match *t {
token::IDENT(_, false) | token::UNDERSCORE => true,
_ => false,
}
is_plain_ident(t) || *t == token::UNDERSCORE
}
impl Parser {