fix(pre-commit): revert changes to use nightly fmt and clippy
Again, this made it impossible for developers using ci.nix as the
toolchain from committing any Rust code.
@@ -12,14 +12,14 @@ repos:
- id: rust-style
name: Rust style
description: Run cargo fmt on files included in the commit. rustfmt should be installed before-hand.
- entry: cargo +nightly-2021-11-30 fmt --all -- --check
+ entry: cargo fmt --all -- --check
pass_filenames: true
types: [file, rust]
language: system
- id: rust-lint
name: Rust lint
description: Run cargo clippy on files included in the commit. clippy should be installed before-hand.
- entry: cargo +nightly-2021-11-30 clippy --all --all-targets -- -D warnings
+ entry: cargo clippy --all --all-targets -- -D warnings
pass_filenames: false
types: [file, rust]
language: system
