Skip to content

Commit cffa1d3

Browse files
committed
fmt cargo-miri
1 parent 0341b8a commit cffa1d3

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

cargo-miri/bin.rs

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -528,9 +528,10 @@ fn phase_cargo_miri(mut args: env::Args) {
528528
Some("run") => MiriCommand::Run,
529529
Some("setup") => MiriCommand::Setup,
530530
// Invalid command.
531-
_ => show_error(format!(
532-
"`cargo miri` supports the following subcommands: `run`, `test`, and `setup`."
533-
)),
531+
_ =>
532+
show_error(format!(
533+
"`cargo miri` supports the following subcommands: `run`, `test`, and `setup`."
534+
)),
534535
};
535536
let verbose = has_arg_flag("-v");
536537

@@ -1086,8 +1087,9 @@ fn main() {
10861087
));
10871088
}
10881089
}
1089-
_ => show_error(format!(
1090-
"`cargo-miri` called without first argument; please only invoke this binary through `cargo miri`"
1091-
)),
1090+
_ =>
1091+
show_error(format!(
1092+
"`cargo-miri` called without first argument; please only invoke this binary through `cargo miri`"
1093+
)),
10921094
}
10931095
}

0 commit comments

Comments
 (0)