mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-23 23:23:50 +03:00
clippy fix
This commit is contained in:
parent
5587d8dd8d
commit
c063200d44
@ -292,7 +292,7 @@ impl ParserContext {
|
||||
members.push(variable);
|
||||
|
||||
let peeked = &self.peek()?;
|
||||
if &peeked.token == &Token::Semicolon {
|
||||
if peeked.token == Token::Semicolon {
|
||||
if commas {
|
||||
return Err(SyntaxError::mixed_commas_and_semicolons(&peeked.span));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user