Skip to content

Commit

Permalink
rustfmt: Create a rustfmt.toml with edition
Browse files Browse the repository at this point in the history
rustfmt was unable to understand the edition in Cargo.toml, so we can
add a hint to rustfmt.toml file.
(see rust-lang/rust#61072)
  • Loading branch information
joaoantoniocardoso authored and patrickelectric committed Jan 11, 2022
1 parent 3ca15b4 commit 1b8dddf
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 = "2021"

0 comments on commit 1b8dddf

Please sign in to comment.