From 2351c979925fd756f4f6af6c670f56376bbb535b Mon Sep 17 00:00:00 2001 From: "Victor M. Alvarez" Date: Wed, 4 Sep 2024 23:19:22 +0200 Subject: [PATCH] style: fix format --- protobuf-support/src/lexer/tokenizer.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/protobuf-support/src/lexer/tokenizer.rs b/protobuf-support/src/lexer/tokenizer.rs index 94b641d3d..5541b1d2d 100644 --- a/protobuf-support/src/lexer/tokenizer.rs +++ b/protobuf-support/src/lexer/tokenizer.rs @@ -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 {