From 14d6f6f7f91f2ab6e7c7f3b0c014a30d21a33824 Mon Sep 17 00:00:00 2001 From: Timothy Warren Date: Wed, 2 Feb 2022 09:45:47 -0500 Subject: [PATCH] Fix Makefile fix command to run formatter after fixing --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 522c0cc..d60401a 100644 --- a/Makefile +++ b/Makefile @@ -19,8 +19,9 @@ lint: $(call print-help, lint, Check code syntax and style) fmt: $(call print-help, fmt, Runs formatter on code) cargo +nightly fmt -fix: fmt +fix: $(call print-help, fix, Fixes some warnings, then runs the formatter) cargo fix --allow-dirty --allow-staged + cargo +nightly fmt docs: $(call print-help, docs, Generates code docs) cargo doc