Skip to content

Commit

Permalink
Add missing 'bump'
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron1011 committed Oct 2, 2019
1 parent 73b50d2 commit 84b680f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libsyntax/parse/parser/item.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ impl<'a> Parser<'a> {
);
}
let abi = self.parse_extern_abi()?;
self.bump(); // 'fn'

let header = FnHeader {
unsafety,
Expand Down

0 comments on commit 84b680f

Please sign in to comment.