clean up to fix nightly clippy warnings and dedents (#3057)

This commit is contained in:
Jeong YunWon 2023-02-20 23:33:47 +09:00 committed by GitHub
parent 3ad257cfea
commit 35606d7b05
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 207 additions and 218 deletions

View file

@ -639,7 +639,7 @@ fn print_fixed<T: Write>(stdout: &mut T, fixed: &FxHashMap<String, FixTable>) ->
);
let s = if total == 1 { "" } else { "s" };
let label = format!("Fixed {total} error{s}:", total = total, s = s);
let label = format!("Fixed {total} error{s}:");
writeln!(stdout, "{}", label.bold().green())?;
for (filename, table) in fixed