Feature request: Add an option to place the arguments of function-like attributes on the same line until attr_fn_like_width
is exceeded.
#6301
Labels
attr_fn_like_width
is exceeded.
#6301
When there are many arguments in the
#[derive(...)]
attribute, placing one argument per line makes the code vertically long and difficult to read.Could you consider adding an option to place the arguments on the same line until the
attr_fn_like_width
is exceeded, as shown in the example below?Example
Current behaviour (
rustfmt 1.7.0-stable (3f5fd8d 2024-08-06)
):Expected behaviour (when
attr_fn_like_width=70
):The text was updated successfully, but these errors were encountered: