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
When using Visual indent style and formatting a multi-lined function signature with the first line exceeding max_width, the last parameter will be formatted with incorrect indentation
Input
rustfmt.toml
indent_style = "Visual"# This can be anything, just using a shorter value than the default for an easier examplemax_width = 30
When using
Visual
indent style and formatting a multi-lined function signature with the first line exceedingmax_width
, the last parameter will be formatted with incorrect indentationInput
rustfmt.toml
Output
Expected output
Believe it should be something like the below, but either way the indentation of the
c
parameter is definitely off currentlyMeta
The text was updated successfully, but these errors were encountered: