]> git.lizzy.rs Git - rust.git/blob - tests/source/issue-1239.rs
Prevent duplicate comma when formatting struct pattern with ".."
[rust.git] / tests / source / issue-1239.rs
1 fn foo() {
2     let with_alignment = if condition__uses_alignment_for_first_if__0 ||
3                             condition__uses_alignment_for_first_if__1 ||
4                             condition__uses_alignment_for_first_if__2 {
5     } else if condition__no_alignment_for_later_else__0 ||
6                                    condition__no_alignment_for_later_else__1 ||
7                                    condition__no_alignment_for_later_else__2 {
8     };
9 }