]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/source/issue-3272/v1.rs
Add 'src/tools/rustfmt/' from commit '7872306edf2e11a69aaffb9434088fd66b46a863'
[rust.git] / src / tools / rustfmt / tests / source / issue-3272 / v1.rs
1 // rustfmt-version: One
2
3 fn main() {
4     assert!(HAYSTACK
5             .par_iter()
6             .find_any(|&&x| x[0] % 1000 == 999)
7             .is_some());
8
9     assert(
10         HAYSTACK
11             .par_iter()
12             .find_any(|&&x| x[0] % 1000 == 999)
13             .is_some(),
14     );
15 }