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.
1 parent eb44c89 commit 7e07fd3Copy full SHA for 7e07fd3
src/tools/compiletest/src/runtest.rs
@@ -1370,7 +1370,7 @@ actual:\n\
1370
// Optionally prevent default --target if specified in test compile-flags.
1371
let custom_target = self.props.compile_flags
1372
.iter()
1373
- .fold(false, |acc, x| acc || x.starts_with("--target"));
+ .any(|x| x.starts_with("--target"));
1374
1375
if !custom_target {
1376
let target = if self.props.force_host {
0 commit comments