Skip to content

Commit 93b8923

Browse files
committed
Clippy
1 parent 6366f56 commit 93b8923

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

build.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ fn main() -> Result<()> {
7272
})?;
7373
println!("cargo:warning={:?} = {:?}", str, version.trim());
7474
}
75-
if str == CORE_TGZ {
76-
if !bundled_core_path.exists() {
75+
if str == CORE_TGZ
76+
&& !bundled_core_path.exists() {
7777
println!("cargo:info=Found core.tar.gz in archive, extracting to core",);
7878
let core_tgz_path = PathBuf::from(out_dir.clone()).join("core.tar.gz");
7979
entry.unpack(&core_tgz_path).with_context(|| {
@@ -98,7 +98,6 @@ fn main() -> Result<()> {
9898
format!("Failed to unpack file {:?} to {:?}", path, core_target)
9999
})?;
100100
}
101-
}
102101
}
103102
}
104103

0 commit comments

Comments
 (0)