Skip to content

Commit

Permalink
style: fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
plusvic committed Sep 4, 2024
1 parent 6d98aba commit 6951916
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 6951916

Please sign in to comment.