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