summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/binary-expr.rs
blob: 93115b282cafa70dabd97c508b6dfd1a0e9ade6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Binary expressions

fn foo() {
    // 100
    let x = aaaaaaaaaa || bbbbbbbbbb || cccccccccc || dddddddddd && eeeeeeeeee || ffffffffff || ggg;
    // 101
    let x =
        aaaaaaaaaa || bbbbbbbbbb || cccccccccc || dddddddddd && eeeeeeeeee || ffffffffff || gggg;
    // 104
    let x = aaaaaaaaaa
        || bbbbbbbbbb
        || cccccccccc
        || dddddddddd && eeeeeeeeee
        || ffffffffff
        || gggggggg;
}