Skip to content

Commit 45354fd

Browse files
committed
fix immediate deref
1 parent a6077d8 commit 45354fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/src/core/build_steps/compile.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2177,7 +2177,7 @@ pub fn run_cargo(
21772177
Some(triple) => triple.0.to_str().unwrap(),
21782178
None => panic!("no output generated for {prefix:?} {extension:?}"),
21792179
};
2180-
if is_dylib(&Path::new(path_to_add)) {
2180+
if is_dylib(Path::new(path_to_add)) {
21812181
let candidate = format!("{path_to_add}.lib");
21822182
let candidate = PathBuf::from(candidate);
21832183
if candidate.exists() {

0 commit comments

Comments
 (0)