chore: cargo clippy --fix

Reformat format strings
This commit is contained in:
Henrik Friedrichsen
2025-07-03 22:11:31 +02:00
parent ca94c00bca
commit b843c7e721
14 changed files with 55 additions and 68 deletions

View File

@@ -34,7 +34,7 @@ type DynError = Box<dyn std::error::Error>;
fn main() {
if let Err(e) = try_main() {
eprintln!("{}", e);
eprintln!("{e}");
std::process::exit(-1);
}
}
@@ -136,7 +136,7 @@ fn generate_shell_completion(subcommand_arguments: &ArgMatches) -> Result<(), Dy
"elvish" => Shell::Elvish,
"powershell" => Shell::PowerShell,
_ => {
eprintln!("Unrecognized shell: {}", shell);
eprintln!("Unrecognized shell: {shell}");
std::process::exit(-1);
}
})