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
Yeah even though block indent style is the default for everything else, closures seem to be the exception that are always formatted with visual style.
I'll open a PR today with an update (version gated) to leverage the indent_style config option when formating the closure to offer consistency with function declarations.
rustfmt seems to use visual style rather than block style when reformatting long closure argument lists:
One possible block-style alternative rustfmt could use:
The text was updated successfully, but these errors were encountered: