diff --git a/tests/Cargo.toml b/tests/Cargo.toml index 006b78981..9b901a7b2 100644 --- a/tests/Cargo.toml +++ b/tests/Cargo.toml @@ -32,3 +32,6 @@ harness = false name = "benches" path = "src/benches.rs" harness = false + +[lints] +workspace = true diff --git a/tests/src/tests.rs b/tests/src/tests.rs index eb2a5f062..82876e6cc 100644 --- a/tests/src/tests.rs +++ b/tests/src/tests.rs @@ -430,7 +430,7 @@ fn test( if world.print.frames { for frame in &document.pages { - writeln!(output, "{:#?}\n", frame).unwrap(); + writeln!(output, "{frame:#?}\n").unwrap(); } }