clippy fix

This commit is contained in:
gluax 2021-05-05 14:57:48 -04:00
parent 5587d8dd8d
commit c063200d44

View File

@ -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));
}