Rust structs with visibility-specifiers on members are not split correctly
z33ky opened this issue · 2 comments
z33ky commented
When attempting to split structs with .e.g 'pub` members, all members are put in a single line.
struct Foo { pub x: u32, pub y: u32 }
//turns to
struct Foo {
pub x: u32, pub y: u32
}
//expected
struct Foo {
pub x: u32,
pub y: u32,
}
AndrewRadev commented
Good catch, I'd missed that. Pushed a fix.
z33ky commented
I can confirm that it works now. Thanks again!