summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/issue-831.rs
blob: 1d6327c21580621fae2d95235e7ca434691390ca (plain)
1
2
3
4
5
6
7
8
9
fn main() {
    let y = a.iter().any(|x| {
        println!("a");
    }) || b.iter().any(|x| {
        println!("b");
    }) || c.iter().any(|x| {
        println!("c");
    });
}