summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/lint_message_convention.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/clippy/tests/lint_message_convention.rs')
-rw-r--r--src/tools/clippy/tests/lint_message_convention.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/clippy/tests/lint_message_convention.rs b/src/tools/clippy/tests/lint_message_convention.rs
index 2e0f4e760..abd0d1bc5 100644
--- a/src/tools/clippy/tests/lint_message_convention.rs
+++ b/src/tools/clippy/tests/lint_message_convention.rs
@@ -102,7 +102,7 @@ fn lint_message_convention() {
"error: the test '{}' contained the following nonconforming lines :",
message.path.display()
);
- message.bad_lines.iter().for_each(|line| eprintln!("{}", line));
+ message.bad_lines.iter().for_each(|line| eprintln!("{line}"));
eprintln!("\n\n");
}