mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-01 10:17:30 +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