Skip to content

Commit

Permalink
restore
Browse files Browse the repository at this point in the history
  • Loading branch information
alamb committed Oct 5, 2023
1 parent 49d0dc9 commit 66fb44d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/parser/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2272,6 +2272,7 @@ impl<'a> Parser<'a> {

/// If the current token is the `expected` keyword, consume it and returns
/// true. Otherwise, no tokens are consumed and returns false [must_use].

Check failure on line 2274 in src/parser/mod.rs

View workflow job for this annotation

GitHub Actions / docs

unresolved link to `must_use`
#[must_use]
pub fn parse_keyword(&mut self, expected: Keyword) -> bool {
match self.peek_token().token {
Token::Word(w) if expected == w.keyword => {
Expand Down

0 comments on commit 66fb44d

Please sign in to comment.