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
I have been using the struct_field_align_threshold option to align struct fields and it is great, however one issue I have noticed whilst using it is that the formatting isn't applied when using ..Default::default(). For example, formatting the follow struct has no impact:
I have been using the
struct_field_align_threshold
option to align struct fields and it is great, however one issue I have noticed whilst using it is that the formatting isn't applied when using..Default::default()
. For example, formatting the follow struct has no impact:I would expect:
If I remove the
..Default::default()
line,rustfmt
will align the fields as expected:The text was updated successfully, but these errors were encountered: