Skip to content

Commit

Permalink
Use Rust 2021 edition for pre-commit's rustfmt (#1328)
Browse files Browse the repository at this point in the history
In #1268, runtime crates were updated to Rust 2021 edition.

Co-authored-by: Russell Cohen <[email protected]>
  • Loading branch information
david-perez and rcoh authored Apr 21, 2022
1 parent 27acbc6 commit 125328d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ repos:
- id: pretty-format-yaml
args: [--autofix, --indent, '2']
- id: pretty-format-rust
entry: rustfmt --edition 2018
entry: rustfmt --edition 2021
files: ^.*\.rs$

0 comments on commit 125328d

Please sign in to comment.