Skip to content

Commit

Permalink
have cargo fmt run checks in pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ashgw committed Apr 9, 2024
1 parent cf4d1cd commit 4ee047e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ repos:
hooks:
- id: format
name: Format
entry: cargo fmt
entry: cargo fmt --check
types: [rust]
language: system
pass_filenames: false
Expand Down

0 comments on commit 4ee047e

Please sign in to comment.