about summary refs log tree commit diff
path: root/src/tools/rustfmt/tests/source/issue-3272/v2.rs
blob: f3adbe37c76968472066b17f40e7a420bc4bd81f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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(),
    );
}