Merge rust-bitcoin/rust-secp256k1#612: rustfmt: Use now config option fn_params_layout

7467b23a8d rustfmt: Use now config option fn_params_layout (Tobin C. Harding)

Pull request description:

  `rustfmt` warns:

   Warning: the `fn_args_layout` option is deprecated. Use
   `fn_params_layout`. instead

  As suggested, use now config option `fn_params_layout`.

ACKs for top commit:
  apoelstra:
    ACK 7467b23a8d

Tree-SHA512: c786607200f550839300234d72e387e76e648b51ccebb96d8fc7a3b607b1702e8410dca486930cf71321f7e0a0546ad55f589da58395c8b3e86d783b40f776a7
This commit is contained in:
Andrew Poelstra 2023-05-10 13:23:36 +00:00
commit ecdec75f3c
No known key found for this signature in database
GPG Key ID: C588D63CE41B97C1
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ enum_discrim_align_threshold = 0
match_arm_blocks = false # Default true match_arm_blocks = false # Default true
match_arm_leading_pipes = "Never" match_arm_leading_pipes = "Never"
force_multiline_blocks = false force_multiline_blocks = false
fn_args_layout = "Tall" fn_params_layout = "Tall"
brace_style = "SameLineWhere" brace_style = "SameLineWhere"
control_brace_style = "AlwaysSameLine" control_brace_style = "AlwaysSameLine"
trailing_semicolon = true trailing_semicolon = true