Skip to content

Commit e8a9b3f

Browse files
committed
Merge #123: Fix rustfmt deprecation warning by replacing version with style_edition
cdc9d0d chore: replaced deprecated 'version' option with 'style_edition' and update nightly version to 2025-04-04 (GideonBature) Pull request description: This PR addresses the deprecation warning from `rustfmt` related to the use of the `version` configuration option in the `rustfmt.toml` file. Replaced the `version` key in favor of the `style_edition` key, as suggested by the warning. ### Changes Made - Removed `version = "One"` from `rustfmt.toml` - Added `style_edition = "2021"` to match the crates' Rust edition and the `edition` in the `rustfmt.toml` file. Closes #121 ACKs for top commit: tcharding: ACK cdc9d0d Tree-SHA512: 5f5ccfbd56d80cc1120f328b1960a5508b9800802abbeb65ee90851d01822f77103046de3d60d2a066d245648cca4be31216e076273f7ff04ca364150d542ad0
2 parents 9a9762c + cdc9d0d commit e8a9b3f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

nightly-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nightly-2024-09-01
1+
nightly-2025-04-04

rustfmt.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ match_block_trailing_comma = false
5858
blank_lines_upper_bound = 1
5959
blank_lines_lower_bound = 0
6060
edition = "2021"
61-
version = "One"
61+
style_edition = "2021"
6262
inline_attribute_width = 0
6363
format_generated_files = true
6464
merge_derives = true

0 commit comments

Comments
 (0)