Skip to content

Commit 47c032a

Browse files
jonatasclaude
authored andcommitted
fix: Remove nested format! in format! args (clippy lint)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent b9da0fc commit 47c032a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/output.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,10 @@ impl OutputFormatter {
1818
};
1919

2020
output.push_str(&format!(
21-
"{} {}\n\n",
21+
"{} {} {}\n\n",
2222
header_icon,
23-
format!("{} {}", header_label, file_path.yellow())
23+
header_label,
24+
file_path.yellow()
2425
));
2526

2627
for violation in violations {

0 commit comments

Comments
 (0)