]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/issue-3272/v1.rs
Rollup merge of #106897 - estebank:issue-99430, r=davidtwco
[rust.git] / src / tools / rustfmt / tests / target / issue-3272 / v1.rs
1 // rustfmt-version: One
2
3 fn main() {
4     assert!(HAYSTACK
5         .par_iter()
6         .find_any(|&&x| x[0] % 1000 == 999)
7         .is_some());
8
9     assert(
10         HAYSTACK
11             .par_iter()
12             .find_any(|&&x| x[0] % 1000 == 999)
13             .is_some(),
14     );
15 }