about summary refs log tree commit diff
path: root/src/tools/rustfmt/tests/source/issue-3272/v1.rs
blob: 56dc048bf8a9064447f257b525b1a71bcc5e9eaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// rustfmt-style_edition: 2015

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