diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index bbcf490..c5da22b 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -1,7 +1,7 @@ - id: fmt name: fmt description: Format files with rustfmt. - entry: cargo fmt + entry: cargo fmt -- language: system files: \.rs$ args: ['--write-mode=overwrite'] diff --git a/hooks.yaml b/hooks.yaml index bbcf490..c5da22b 100644 --- a/hooks.yaml +++ b/hooks.yaml @@ -1,7 +1,7 @@ - id: fmt name: fmt description: Format files with rustfmt. - entry: cargo fmt + entry: cargo fmt -- language: system files: \.rs$ args: ['--write-mode=overwrite']