From 9be5a5e4c832e8b2b30f745dd207f5dd56b53f97 Mon Sep 17 00:00:00 2001 From: "[Clippy]" Date: Thu, 25 Jul 2024 13:25:39 +0000 Subject: [PATCH] Commit from GitHub Actions () --- src/lex/lexer.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lex/lexer.rs b/src/lex/lexer.rs index c9abf06..6271f63 100644 --- a/src/lex/lexer.rs +++ b/src/lex/lexer.rs @@ -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)); } } }