Skip to content

Commit

Permalink
Specify edition to rustfmt settings (REMOVE LATER, OUT OF SCOPE)
Browse files Browse the repository at this point in the history
My editor uses `rustfmt` to format on save, but `rustfmt` doesn't pickup edition
specified in `Cargo.toml` properly.
  • Loading branch information
zhenwenc committed May 3, 2020
1 parent d13305f commit 46b5de7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rustfmt.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
edition = "2018"
merge_imports = true
use_field_init_shorthand = true

0 comments on commit 46b5de7

Please sign in to comment.