Skip to content

Commit

Permalink
Use Rust 2021 edition for pre-commit's rustfmt
Browse files Browse the repository at this point in the history
In #1268, runtime crates were updated to Rust 2021 edition.
  • Loading branch information
david-perez committed Apr 19, 2022
1 parent 699e289 commit ee03945
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 ee03945

Please sign in to comment.