Skip to content

Commit 32c1d61

Browse files
committed
cargo fmt
1 parent 459b114 commit 32c1d61

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

src/uu/install/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ uucore = { workspace = true, features = [
2525
"mode",
2626
"perms",
2727
"entries",
28-
"process"
28+
"process",
2929
] }
3030

3131
[[bin]]

src/uu/install/src/install.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -789,9 +789,11 @@ fn strip_file(to: &Path, b: &Behavior) -> UResult<()> {
789789
if !status.success() {
790790
// Follow GNU's behavior: if strip fails, removes the target
791791
let _ = fs::remove_file(to);
792-
return Err(InstallError::StripProgramFailed(
793-
format!("strip process terminated abnormally - exit code: {}", status.code().unwrap())
794-
).into());
792+
return Err(InstallError::StripProgramFailed(format!(
793+
"strip process terminated abnormally - exit code: {}",
794+
status.code().unwrap()
795+
))
796+
.into());
795797
}
796798
}
797799
Err(e) => {

0 commit comments

Comments
 (0)