Skip to content

Commit

Permalink
Set 2018 edition in .rustfmt.toml
Browse files Browse the repository at this point in the history
The edition works automatically when running `cargo fmt`, but not when
running `rustfmt` directly as some editors do.
  • Loading branch information
cuviper committed Aug 10, 2020
1 parent 622dd20 commit 132814c
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
@@ -0,0 +1 @@
edition = "2018"

0 comments on commit 132814c

Please sign in to comment.