Skip to content

Commit 11eec1d

Browse files
committed
Auto merge of #9551 - hi-rustin:rustin-patch-clippy, r=alexcrichton
Make clippy happy It is already a reference.
2 parents d3bc132 + a71eb1b commit 11eec1d

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)