summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/source/issue-3272/v2.rs
blob: 0148368edc8ede095fb2aa22f12ea777443a0c15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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(),
    );
}