Skip to content

Commit 82b836e

Browse files
committed
rustfmt: Change fn_args_layout to fn_params_layout
Running `cargo +nightly fmt` emits a bunch of warnings of form: Warning: the `fn_args_layout` option is deprecated. Use `fn_params_layout`. instead As suggested change the `fn_args_layout` option to `fn_params_layout`.
1 parent d3af6d9 commit 82b836e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rustfmt.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ enum_discrim_align_threshold = 0
4444
match_arm_blocks = true
4545
match_arm_leading_pipes = "Never"
4646
force_multiline_blocks = false
47-
fn_args_layout = "Tall"
47+
fn_params_layout = "Tall"
4848
brace_style = "SameLineWhere"
4949
control_brace_style = "AlwaysSameLine"
5050
trailing_semicolon = true

0 commit comments

Comments
 (0)