fmt cargo-miri

This commit is contained in:
Ralf Jung 2021-07-11 14:27:07 +02:00
parent 0341b8ac84
commit cffa1d325c

View File

@ -528,9 +528,10 @@ fn phase_cargo_miri(mut args: env::Args) {
Some("run") => MiriCommand::Run, Some("run") => MiriCommand::Run,
Some("setup") => MiriCommand::Setup, Some("setup") => MiriCommand::Setup,
// Invalid command. // Invalid command.
_ => show_error(format!( _ =>
"`cargo miri` supports the following subcommands: `run`, `test`, and `setup`." show_error(format!(
)), "`cargo miri` supports the following subcommands: `run`, `test`, and `setup`."
)),
}; };
let verbose = has_arg_flag("-v"); let verbose = has_arg_flag("-v");
@ -1086,8 +1087,9 @@ fn main() {
)); ));
} }
} }
_ => show_error(format!( _ =>
"`cargo-miri` called without first argument; please only invoke this binary through `cargo miri`" show_error(format!(
)), "`cargo-miri` called without first argument; please only invoke this binary through `cargo miri`"
)),
} }
} }