diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index f58a7b9..480ddd7 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -4,7 +4,7 @@ entry: cargo fmt language: system types: [rust] - pass_filenames: false + args: ['--'] - id: cargo-check name: cargo check description: Check the package for errors.