Skip to content

Commit ca38b96

Browse files
committed
clippy fix
1 parent a276c5f commit ca38b96

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

openblas-build/src/download.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pub fn download(out_dir: &Path) -> Result<PathBuf> {
1616
let buf = ureq::get(&openblas_source_url()).call()?.into_reader();
1717
let gz_stream = flate2::read::GzDecoder::new(buf);
1818
let mut ar = tar::Archive::new(gz_stream);
19-
ar.unpack(&out_dir)?;
19+
ar.unpack(out_dir)?;
2020
assert!(dest.exists());
2121
}
2222
Ok(dest)

openblas-src/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ fn build() {
174174
}
175175

176176
let source = openblas_build::download(&output).unwrap();
177-
let deliv = cfg.build(&source, &output).unwrap();
177+
let deliv = cfg.build(source, &output).unwrap();
178178

179179
println!("cargo:rustc-link-search={}", output.display());
180180
for search_path in &deliv.make_conf.c_extra_libs.search_paths {

0 commit comments

Comments
 (0)