Skip to content

Commit a3d280e

Browse files
committed
Merge #770: Update deprecated field in rustfmt.toml
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
2 parents acbd120 + b5a8374 commit a3d280e

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
@@ -53,7 +53,7 @@ match_block_trailing_comma = false
5353
blank_lines_upper_bound = 1
5454
blank_lines_lower_bound = 0
5555
edition = "2018"
56-
version = "One"
56+
style_edition = "2021"
5757
inline_attribute_width = 0
5858
format_generated_files = true
5959
merge_derives = true

0 commit comments

Comments
 (0)