From 6db38901bffc81937d13587b005a90928b5291c8 Mon Sep 17 00:00:00 2001 From: Mathieu Lemay Date: Sun, 12 Jan 2020 16:02:48 -0500 Subject: [PATCH] Use cargo fmt instead of rustfmt --- .pre-commit-hooks.yaml | 4 ++-- hooks.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index 80b7c98..2c15f3a 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: rustfmt -- + description: Format files with cargo fmt. + entry: cargo fmt -- language: system files: \.rs$ args: [] diff --git a/hooks.yaml b/hooks.yaml index 22bec7d..ca02623 100644 --- a/hooks.yaml +++ b/hooks.yaml @@ -1,7 +1,7 @@ - id: fmt name: fmt - description: Format files with rustfmt. - entry: rustfmt -- + description: Format files with cargo fmt. + entry: cargo fmt -- language: system files: \.rs$ args: []