We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
x clippy ci
1 parent 14a772d commit 838cb82Copy full SHA for 838cb82
src/bootstrap/src/lib.rs
@@ -1514,7 +1514,7 @@ Executed at: {executed_at}"#,
1514
!self.config.full_bootstrap
1515
&& !self.config.download_rustc()
1516
&& stage >= 2
1517
- && (self.hosts.iter().any(|h| *h == target) || target == self.build)
+ && (self.hosts.contains(&target) || target == self.build)
1518
}
1519
1520
/// Checks whether the `compiler` compiling for `target` should be forced to
0 commit comments