Skip to content

Commit 225560c

Browse files
committed
cargo fmt
1 parent 4a1b517 commit 225560c

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/main.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1045,7 +1045,7 @@ impl<'a> Input<'a> {
10451045
digest.truncate(consts::ID_DIGEST_LEN_MAX);
10461046

10471047
let mut id = OsString::new();
1048-
id.push(&*digest );
1048+
id.push(&*digest);
10491049
Ok(id)
10501050
}
10511051
Expr(content, template) => {
@@ -1144,10 +1144,7 @@ fn cargo(
11441144
cmd.arg("--color").arg("always");
11451145
}
11461146

1147-
let cargo_target_dir = format!(
1148-
"{}",
1149-
platform::binary_cache_path()?.display(),
1150-
);
1147+
let cargo_target_dir = format!("{}", platform::binary_cache_path()?.display(),);
11511148
cmd.env("CARGO_TARGET_DIR", cargo_target_dir);
11521149

11531150
// Block `--release` on `bench`.

0 commit comments

Comments
 (0)