Skip to content

Commit 52fc353

Browse files
committed
Add style_edition to rustfmt.toml
This adds the `style_edition` to rustfmt.toml. The `edition` field only affects parsing, not formatting. This helps with editors which invoke `rustfmt` directly, which cannot read `Cargo.toml`.
1 parent 0542c90 commit 52fc353

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rustfmt.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
edition = "2024"
2+
style_edition = "2024"

0 commit comments

Comments
 (0)