We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0516dde commit 75f3886Copy full SHA for 75f3886
githooks/pre-commit
@@ -48,3 +48,6 @@ git diff-index --check --cached $against -- || exit 1
48
49
# Check that code lints cleanly.
50
cargo clippy --features=rand-std,recovery,lowmemory,global-context --all-targets -- -D warnings || exit 1
51
+
52
+# Check that there are no formatting issues.
53
+cargo +nightly fmt --check || exit 1
0 commit comments