]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/source/nested-if-else.rs
Merge commit '4a053f206fd6799a25823c307f7d7f9d897be118' into sync-rustfmt-subtree
[rust.git] / src / tools / rustfmt / tests / source / nested-if-else.rs
1 fn issue1518() {
2     Some(Object {
3         field: if a {
4             a_thing
5         } else if b {
6             b_thing
7         } else {
8             c_thing
9         },
10     })
11 }