We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a629c6 commit 2fa4fc5Copy full SHA for 2fa4fc5
githooks/pre-commit
@@ -47,3 +47,6 @@ git diff-index --check --cached $against -- || exit 1
47
48
# Check that code lints cleanly.
49
cargo clippy --all-features -- -D warnings || exit 1
50
+
51
+# Check that there are no formatting issues.
52
+cargo +nightly fmt --check || exit 1
0 commit comments