Skip to content

Commit a71eb1b

Browse files
committed
Make clippy happy
1 parent d3bc132 commit a71eb1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/core/compiler/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ fn rustc(cx: &mut Context<'_, '_>, unit: &Unit, exec: &Arc<dyn Executor>) -> Car
394394
}
395395

396396
for (lt, arg) in &output.linker_args {
397-
if lt.applies_to(&target) {
397+
if lt.applies_to(target) {
398398
rustc.arg("-C").arg(format!("link-arg={}", arg));
399399
}
400400
}

0 commit comments

Comments
 (0)