Skip to content

Commit b7967a8

Browse files
committedOct 30, 2023
Use nightly rustfmt in the pre-commit hook
1 parent 2fd52a6 commit b7967a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎.cargo-husky/hooks/pre-commit

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ set -xe
1616
# Setting RUSTFLAGS env for clippy makes it not include custom rules
1717
RUSTFLAGS=-Dwarnings cargo check --workspace --all-targets --profile bench ${ALL_FEATURES}
1818
cargo clippy --all --all-targets ${ALL_FEATURES} -- -D warnings
19-
cargo fmt --all -- --check
19+
cargo +nightly fmt --all -- --check
2020
cargo test --doc --workspace ${ALL_FEATURES}
2121
cargo test --workspace --all-targets ${ALL_FEATURES}

0 commit comments

Comments
 (0)
Please sign in to comment.