You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good point! I'm not really sure. Probably not, since items and expressions are sometimes formatted differently. OTOH, I don't really want to add another option for this and I think a person who likes the 'brace on its own line' style might expect both items and expressions to be formatted the same way.
@calebcartwright is this a bug or intended behavior? Also item_brace_style no longer exists. To simulate the original issue we can set brace_style=AlwaysNextLine and struct_lit_single_line=false
Linking tracking issue for brace_style (#3376). Although struct_lit_single_line (#3357) doesn't cause any issues i'm go to link it just in case since I feel like we'd need to figure out what to do about the interaction between brace_style=AlwaysNextLine and struct_lit_single_line=true.
With
item_brace_style = "AlwaysNextLine"
:Expected
Actual
The text was updated successfully, but these errors were encountered: