summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/source/issue-3272/v1.rs
blob: f4c1b7c992bf1f3435ddf630a5f45ae8080791ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// rustfmt-version: One

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