Skip to content

Commit

Permalink
chore: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes committed Dec 11, 2023
1 parent c8c468e commit 8bd7e87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/parser/src/lexer/cursor/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use std::fmt::Write;
fn check_lexing(src: &str, expect: Expect) {
let mut actual = String::new();
for token in Cursor::new(src) {
write!(actual, "{:?}\n", token).unwrap();
writeln!(actual, "{token:?}").unwrap();
}
expect.assert_eq(&actual)
}
Expand Down

0 comments on commit 8bd7e87

Please sign in to comment.