Merge rust-bitcoin/rust-bitcoin#2414: Use nightly toolchain in pre-commit hook
13c8a709f1
Use nightly toolchain in pre-commit hook (Tobin C. Harding) Pull request description: We use the nightly toolchain to run `clippy` now, update the git pre-commit hook to mirror this. ACKs for top commit: apoelstra: ACK13c8a709f1
Tree-SHA512: 46700641b81a1e5a2e39ff67ca0d31afaedfb58e008bf453c13f0312b2c6936ae38c58548934cae40abc9de0dc1ec4ce4bba4b8142b204d774612bd9721679c9
This commit is contained in:
commit
f0548c9318
|
@ -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