Skip to content

Commit

Permalink
Auto merge of #9551 - hi-rustin:rustin-patch-clippy, r=alexcrichton
Browse files Browse the repository at this point in the history
Make clippy happy

It is already a reference.
  • Loading branch information
bors committed Jun 7, 2021
2 parents d3bc132 + a71eb1b commit 11eec1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cargo/core/compiler/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ fn rustc(cx: &mut Context<'_, '_>, unit: &Unit, exec: &Arc<dyn Executor>) -> Car
}

for (lt, arg) in &output.linker_args {
if lt.applies_to(&target) {
if lt.applies_to(target) {
rustc.arg("-C").arg(format!("link-arg={}", arg));
}
}
Expand Down

0 comments on commit 11eec1d

Please sign in to comment.