summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/issue-3272/v1.rs
blob: aab201027d56117369f26f59040e86a286860d44 (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(),
    );
}