From 66fb44da93ee02b582ab4b7a47b3cf7ba97a3ae2 Mon Sep 17 00:00:00 2001 From: Andrew Lamb Date: Thu, 5 Oct 2023 15:14:43 -0400 Subject: [PATCH] restore --- src/parser/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/parser/mod.rs b/src/parser/mod.rs index ab16dfb8a..9ebc9300b 100644 --- a/src/parser/mod.rs +++ b/src/parser/mod.rs @@ -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]. + #[must_use] pub fn parse_keyword(&mut self, expected: Keyword) -> bool { match self.peek_token().token { Token::Word(w) if expected == w.keyword => {