Commit from GitHub Actions ()

This commit is contained in:
[Clippy] 2024-07-25 13:25:39 +00:00
parent 9fcc8abe4c
commit 9be5a5e4c8

View file

@ -98,7 +98,7 @@ impl Lexer {
}
'{' | '}' | '(' | ')' | '[' | ']' | ',' | ';' | ':' => {
tokens.push(self.consume_symbol(c.clone()));
tokens.push(self.consume_symbol(c));
}
'.' => {
@ -106,7 +106,7 @@ impl Lexer {
}
_ => {
tokens.push(self.consume_unknown(c.clone()));
tokens.push(self.consume_unknown(c));
}
}
}