diff --git a/githooks/pre-commit b/githooks/pre-commit index dc0fa1bf..f6c5305d 100755 --- a/githooks/pre-commit +++ b/githooks/pre-commit @@ -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