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:
@@ -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}.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user