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