Skip to content

Commit

Permalink
Incorporate review feedback. Fix #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

5 comments on commit 1b3cd96

@bors
Copy link
Contributor

@bors bors commented on 1b3cd96 Sep 3, 2013

Choose a reason for hiding this comment

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

saw approval from alexcrichton
at pnkfelix@1b3cd96

@bors
Copy link
Contributor

@bors bors commented on 1b3cd96 Sep 3, 2013

Choose a reason for hiding this comment

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

merging pnkfelix/rust/fsk-8468-allow-underscore-paramname-in-trait-default-method = 1b3cd96 into auto

@bors
Copy link
Contributor

@bors bors commented on 1b3cd96 Sep 3, 2013

Choose a reason for hiding this comment

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

pnkfelix/rust/fsk-8468-allow-underscore-paramname-in-trait-default-method = 1b3cd96 merged ok, testing candidate = 8183c74

@bors
Copy link
Contributor

@bors bors commented on 1b3cd96 Sep 3, 2013

@bors
Copy link
Contributor

@bors bors commented on 1b3cd96 Sep 3, 2013

Choose a reason for hiding this comment

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

fast-forwarding master to auto = 8183c74

Please sign in to comment.