Allow user to send args to cargo fmt, not just to rustfmt

This commit is contained in:
Mathieu Lemay 2020-04-07 10:34:50 -04:00
parent 257c8ca7b4
commit 4bb2cb56a1
No known key found for this signature in database
GPG key ID: CD614E6AAC09AC9B
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
- id: fmt - id: fmt
name: fmt name: fmt
description: Format files with cargo fmt. description: Format files with cargo fmt.
entry: cargo fmt -- entry: cargo fmt
language: system language: system
types: [rust] types: [rust]
args: [] args: []

View file

@ -1,7 +1,7 @@
- id: fmt - id: fmt
name: fmt name: fmt
description: Format files with cargo fmt. description: Format files with cargo fmt.
entry: cargo fmt -- entry: cargo fmt
language: system language: system
files: \.rs$ files: \.rs$
args: [] args: []