]> git.lizzy.rs Git - rust.git/blob - tests/source/binary-expr.rs
Prevent duplicate comma when formatting struct pattern with ".."
[rust.git] / tests / source / binary-expr.rs
1 // Binary expressions
2
3 fn foo() {
4     // 100
5     let x = aaaaaaaaaa || bbbbbbbbbb || cccccccccc || dddddddddd && eeeeeeeeee || ffffffffff || ggg;
6     // 101
7     let x = aaaaaaaaaa || bbbbbbbbbb || cccccccccc || dddddddddd && eeeeeeeeee || ffffffffff || gggg;
8     // 104
9     let x = aaaaaaaaaa || bbbbbbbbbb || cccccccccc || dddddddddd && eeeeeeeeee || ffffffffff || gggggggg;
10 }