Skip to content

Commit 1d3fe50

Browse files
authored
chore: clippy fix (#2408)
1 parent 3d2779a commit 1d3fe50

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

crates/noirc_frontend/src/lexer/lexer.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -459,10 +459,7 @@ fn custom_attribute() {
459459
let mut lexer = Lexer::new(input);
460460

461461
let token = lexer.next().unwrap().unwrap();
462-
assert_eq!(
463-
token.token(),
464-
&Token::Attribute(Attribute::Custom("custom(hello)".to_string().into()))
465-
);
462+
assert_eq!(token.token(), &Token::Attribute(Attribute::Custom("custom(hello)".to_string())));
466463
}
467464

468465
#[test]

0 commit comments

Comments
 (0)