mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-30 06:43:20 +03:00
Incorporate review feedback. Fix #8468.
This commit is contained in:
@@ -348,10 +348,7 @@ fn drop(&self) {}
|
||||
}
|
||||
|
||||
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 {
|
||||
|
||||
Reference in New Issue
Block a user