From 1054f3248e99761b16c4bb19bd813a16ec6192fd Mon Sep 17 00:00:00 2001 From: Tom French Date: Tue, 22 Aug 2023 21:37:07 +0100 Subject: [PATCH] chore: clippy --- crates/noirc_frontend/src/lexer/lexer.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/crates/noirc_frontend/src/lexer/lexer.rs b/crates/noirc_frontend/src/lexer/lexer.rs index d0fa475426a..fc72f43674d 100644 --- a/crates/noirc_frontend/src/lexer/lexer.rs +++ b/crates/noirc_frontend/src/lexer/lexer.rs @@ -459,10 +459,7 @@ fn custom_attribute() { let mut lexer = Lexer::new(input); let token = lexer.next().unwrap().unwrap(); - assert_eq!( - token.token(), - &Token::Attribute(Attribute::Custom("custom(hello)".to_string().into())) - ); + assert_eq!(token.token(), &Token::Attribute(Attribute::Custom("custom(hello)".to_string()))); } #[test]