Skip to content

Commit

Permalink
Add rust edition to .rustfmt.toml
Browse files Browse the repository at this point in the history
This is needed in here for tools that run `rustfmt` directly instead of
`cargo fmt`.

Signed-off-by: J Robert Ray <jrray@imageworks.com>
  • Loading branch information
J Robert Ray committed Jul 17, 2023
1 parent c9ffa9a commit 18bd595
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,3 +1,4 @@
edition = "2021"

use_field_init_shorthand = true

Expand Down

0 comments on commit 18bd595

Please sign in to comment.