Skip to content

Commit ea830e7

Browse files
committed
chore: add rustfmt.toml to keep edition the same as Cargo.toml
The reason I do this is due to emacs using `rust-mode` which calls `rustfmt` but `rustfmt` inherits edition from `rustfmt.toml`, not `Cargo.toml`.
1 parent bd528d8 commit ea830e7

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
@@ -0,0 +1 @@
1+
edition = "2024"

0 commit comments

Comments
 (0)