Skip to content

Commit ed9006f

Browse files
authored
chore: Add Rust 2018 edition tag to .rustfmt.toml (#3120)
Some editors use `rustfmt` directly instead of `cargo fmt`, which requires explicitly indicating which Rust edition the project is using. Signed-off-by: Bruce Guenter <[email protected]>
1 parent 876b410 commit ed9006f

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
@@ -2,3 +2,4 @@
22
# Not stable yet.
33
# indent_style = "Block"
44
reorder_imports = true
5+
edition = "2018"

0 commit comments

Comments
 (0)