Skip to content

Commit

Permalink
Make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Rustin170506 committed Jun 7, 2021
1 parent d3bc132 commit a71eb1b
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 a71eb1b

Please sign in to comment.