diff --git a/hooks.yaml b/hooks.yaml index 797c823..2a4a272 100644 --- a/hooks.yaml +++ b/hooks.yaml @@ -3,5 +3,5 @@ description: Format files with rustfmt. entry: rustfmt language: system - files: \.(rs|rlib)$ + files: \.rs$ args: ['--write-mode=overwrite']