]> git.proxmox.com Git - rustc.git/blame - src/tools/rustfmt/tests/target/issue-3272/v2.rs
Update upstream source from tag 'upstream/1.52.1+dfsg1'
[rustc.git] / src / tools / rustfmt / tests / target / issue-3272 / v2.rs
CommitLineData
f20569fa
XL
1// rustfmt-version: Two
2
3fn 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}