1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-26 14:49:06 -04:00

Enable and fix some more clippy lints (#7426)

One can never have too many lints
This commit is contained in:
Emil Ernerfeldt
2025-08-08 09:57:53 +02:00
committed by GitHub
parent e8e99a0bb6
commit 3024c39eaf
41 changed files with 107 additions and 91 deletions

View File

@@ -32,7 +32,7 @@ pub fn ask_to_run(mut cmd: Command, ask: bool, reason: &str) -> Result<(), DynEr
"" | "y" | "yes" => {}
"n" | "no" => return Err("Aborting as per your request".into()),
a => return Err(format!("Invalid answer `{a}`").into()),
};
}
} else {
println!("Running `{cmd:?}` to {reason}.");
}