Skip to content

Commit 4bb2cb5

Browse files
committed
Allow user to send args to cargo fmt, not just to rustfmt
1 parent 257c8ca commit 4bb2cb5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.pre-commit-hooks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
- id: fmt
22
name: fmt
33
description: Format files with cargo fmt.
4-
entry: cargo fmt --
4+
entry: cargo fmt
55
language: system
66
types: [rust]
77
args: []

hooks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
- id: fmt
22
name: fmt
33
description: Format files with cargo fmt.
4-
entry: cargo fmt --
4+
entry: cargo fmt
55
language: system
66
files: \.rs$
77
args: []

0 commit comments

Comments
 (0)