Skip to content

Commit 4538ade

Browse files
committed
cargo fmt
1 parent 1110837 commit 4538ade

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

src/cargo/core/compiler/fingerprint.rs

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -853,15 +853,23 @@ impl Fingerprint {
853853
match (new, old) {
854854
(LocalFingerprint::Precalculated(a), LocalFingerprint::Precalculated(b)) => {
855855
if a != b {
856-
bail!("precalculated components have changed: previously {}, now {}", b, a)
856+
bail!(
857+
"precalculated components have changed: previously {}, now {}",
858+
b,
859+
a
860+
)
857861
}
858862
}
859863
(
860864
LocalFingerprint::CheckDepInfo { dep_info: adep },
861865
LocalFingerprint::CheckDepInfo { dep_info: bdep },
862866
) => {
863867
if adep != bdep {
864-
bail!("dep info output changed: previously {:?}, now {:?}", bdep, adep)
868+
bail!(
869+
"dep info output changed: previously {:?}, now {:?}",
870+
bdep,
871+
adep
872+
)
865873
}
866874
}
867875
(
@@ -875,7 +883,11 @@ impl Fingerprint {
875883
},
876884
) => {
877885
if aout != bout {
878-
bail!("rerun-if-changed output changed: previously {:?}, now {:?}", bout, aout)
886+
bail!(
887+
"rerun-if-changed output changed: previously {:?}, now {:?}",
888+
bout,
889+
aout
890+
)
879891
}
880892
if apaths != bpaths {
881893
bail!(

0 commit comments

Comments
 (0)