Skip to content

Commit

Permalink
Run 'cargo fmt' in check mode as a hook
Browse files Browse the repository at this point in the history
  • Loading branch information
kelnos committed Jul 6, 2022
1 parent d91c411 commit 6f91835
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hooks/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
set -e

cargo clippy -- -D warnings
cargo fmt
cargo fmt --check

0 comments on commit 6f91835

Please sign in to comment.