summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/issue-3272/v2.rs
blob: a42a2fccd5b0f7c9baa5c7839dac10b9d7c463ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// rustfmt-version: Two

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(),
    );
}