Skip to content

Commit

Permalink
chore: clippy fix (#2408)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench authored Aug 22, 2023
1 parent 3d2779a commit 1d3fe50
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions crates/noirc_frontend/src/lexer/lexer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 1d3fe50

Please sign in to comment.