Skip to content

Commit

Permalink
Incorporate review feedback. Fix rust-lang#8468.
Browse files Browse the repository at this point in the history
  • Loading branch information
pnkfelix committed Sep 3, 2013
1 parent ba1f44d commit 1b3cd96
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/libsyntax/parse/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

1 comment on commit 1b3cd96

@pnkfelix
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r=alexcrichton

Please sign in to comment.