Skip to content

Commit 46b5de7

Browse files
committed
Specify edition to rustfmt settings (REMOVE LATER, OUT OF SCOPE)
My editor uses `rustfmt` to format on save, but `rustfmt` doesn't pickup edition specified in `Cargo.toml` properly.
1 parent d13305f commit 46b5de7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rustfmt.toml

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
edition = "2018"
12
merge_imports = true
23
use_field_init_shorthand = true

0 commit comments

Comments
 (0)