diff --git a/src/parser/mod.rs b/src/parser/mod.rs index 9e251cd..51bdce0 100644 --- a/src/parser/mod.rs +++ b/src/parser/mod.rs @@ -253,7 +253,7 @@ impl Parser { self.block(&TokenKind::RightBrace)? } else { let mut body = Block::new(); - while ! self.is_eof() { + while !self.is_eof() { body.push(self.top_level_statement()?); } body