Skip to content

Commit

Permalink
Merge #770: Update deprecated field in rustfmt.toml
Browse files Browse the repository at this point in the history
b5a8374 Update deprecated field in rustfmt.toml (Sexosexosexo)

Pull request description:

  This fixes the "Warning: the `version` option is deprecated. Use `style_edition` instead." that we see when running `cargo +nightly fmt`.

  The 2021 edition is the last one matching the version "One".

ACKs for top commit:
  apoelstra:
    ACK b5a8374; successfully ran local tests; thanks!

Tree-SHA512: 8ee0da46a210c59034791d0a46b368fd844b8d32f145be9e37e760162d6198797c98cedb9dd159cbf3b10c8f4144b971b63febbc21801b0c2c1a97461bbc63b6
  • Loading branch information
apoelstra committed Nov 11, 2024
2 parents acbd120 + b5a8374 commit a3d280e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rustfmt.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ match_block_trailing_comma = false
blank_lines_upper_bound = 1
blank_lines_lower_bound = 0
edition = "2018"
version = "One"
style_edition = "2021"
inline_attribute_width = 0
format_generated_files = true
merge_derives = true
Expand Down

0 comments on commit a3d280e

Please sign in to comment.