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:
parent
48b42c10fb
commit
13c8a709f1
|
@ -46,4 +46,4 @@ fi
|
||||||
git diff-index --check --cached $against -- || exit 1
|
git diff-index --check --cached $against -- || exit 1
|
||||||
|
|
||||||
# Check that code lints cleanly.
|
# Check that code lints cleanly.
|
||||||
cargo clippy --all-features -- -D warnings || exit 1
|
cargo +nightly clippy --all-features -- -D warnings || exit 1
|
||||||
|
|
Loading…
Reference in New Issue