2024-07-19 18:25:11 -05:00
|
|
|
// rustfmt-style_edition: 2015
|
2019-01-27 06:01:12 -06:00
|
|
|
|
|
|
|
fn main() {
|
|
|
|
assert!(HAYSTACK
|
|
|
|
.par_iter()
|
|
|
|
.find_any(|&&x| x[0] % 1000 == 999)
|
|
|
|
.is_some());
|
|
|
|
|
|
|
|
assert(
|
|
|
|
HAYSTACK
|
|
|
|
.par_iter()
|
|
|
|
.find_any(|&&x| x[0] % 1000 == 999)
|
|
|
|
.is_some(),
|
|
|
|
);
|
|
|
|
}
|