Skip to content

Commit

Permalink
style: fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
plusvic authored and stepancheg committed Oct 15, 2024
1 parent 014a3af commit 7f3e21e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion protobuf-support/src/lexer/tokenizer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,8 @@ impl<'a> Tokenizer<'a> {
self.next_token_if(|token| match token {
Token::Symbol(c) if symbols.contains(c) => true,
_ => false,
}).map(|token| token.is_some())
})
.map(|token| token.is_some())
}

pub fn next_symbol_if_eq(&mut self, symbol: char) -> TokenizerResult<bool> {
Expand Down

0 comments on commit 7f3e21e

Please sign in to comment.