Skip to content

Commit

Permalink
clippy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gluax committed May 5, 2021
1 parent 5587d8d commit c063200
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parser/src/parser/file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
Expand Down

0 comments on commit c063200

Please sign in to comment.