Skip to content

Commit 6df4830

Browse files
committed
fix: use nightly for cargo fmt
1 parent c038893 commit 6df4830

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

template/.pre-commit-config.yaml.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ repos:
1818
rev: eeee35a89e69d5772bdee97db1a6a898467b686e # 1.0
1919
hooks:
2020
- id: fmt
21+
entry: cargo +nightly fmt
2122
args: ["--all", "--", "--check"]
2223
- id: clippy
2324
args: ["--all-targets", "--", "-D", "warnings"]

0 commit comments

Comments
 (0)