Skip to content

Commit 0f80e5e

Browse files
committed
cargo fmt
1 parent 7496f47 commit 0f80e5e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/main.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -652,12 +652,12 @@ fn gen_pkg_and_compile(input: &Input, action: &InputAction) -> MainResult<()> {
652652

653653
let compile_err =
654654
exit_status
655-
.map_err(Into::<MainError>::into)
656-
.and_then(|st| match st.code() {
657-
Some(0) => Ok(()),
658-
Some(st) => Err(format!("cargo failed with status {}", st).into()),
659-
None => Err("cargo failed".into()),
660-
});
655+
.map_err(Into::<MainError>::into)
656+
.and_then(|st| match st.code() {
657+
Some(0) => Ok(()),
658+
Some(st) => Err(format!("cargo failed with status {}", st).into()),
659+
None => Err("cargo failed".into()),
660+
});
661661

662662
// Drop out now if compilation failed.
663663
let _ = compile_err?;

0 commit comments

Comments
 (0)