Allow user to send args to cargo fmt, not just to rustfmt
This commit is contained in:
parent
257c8ca7b4
commit
4bb2cb56a1
|
@ -1,7 +1,7 @@
|
|||
- id: fmt
|
||||
name: fmt
|
||||
description: Format files with cargo fmt.
|
||||
entry: cargo fmt --
|
||||
entry: cargo fmt
|
||||
language: system
|
||||
types: [rust]
|
||||
args: []
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
- id: fmt
|
||||
name: fmt
|
||||
description: Format files with cargo fmt.
|
||||
entry: cargo fmt --
|
||||
entry: cargo fmt
|
||||
language: system
|
||||
files: \.rs$
|
||||
args: []
|
||||
|
|
Loading…
Reference in a new issue