Skip to content

Commit

Permalink
chore: clippy fixes (#2320)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench authored Aug 15, 2023
1 parent 24ef2d2 commit af57994
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/noirc_frontend/src/parser/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1719,7 +1719,7 @@ mod test {
assert_eq!(errors.len(), 5);
assert!(errors
.iter()
.all(|err| { err.is_warning() && format!("{}", err).contains("deprecated") }))
.all(|err| { err.is_warning() && err.to_string().contains("deprecated") }));
}

/// This is the standard way to declare an assert statement
Expand Down

0 comments on commit af57994

Please sign in to comment.