Use nightly toolchain in pre-commit hook

We use the nightly toolchain to run `clippy` now, update the git
pre-commit hook to mirror this.
This commit is contained in:
Tobin C. Harding 2024-01-30 07:19:12 +11:00
parent 48b42c10fb
commit 13c8a709f1
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
1 changed files with 1 additions and 1 deletions

View File

@ -46,4 +46,4 @@ fi
git diff-index --check --cached $against -- || exit 1
# Check that code lints cleanly.
cargo clippy --all-features -- -D warnings || exit 1
cargo +nightly clippy --all-features -- -D warnings || exit 1