about summary refs log tree commit diff
path: root/src/tools/rustfmt/tests/target/issue-3272/v2.rs
blob: ca7718c5a610af044ddfdf39e8e8618eaf51d5a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// rustfmt-style_edition: 2024

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