Skip to content

Commit 4ff70f3

Browse files
committed
Add cargo fix to the just fix command
Signed-off-by: Wiktor Kwapisiewicz <wiktor@metacode.biz>
1 parent 47b0378 commit 4ff70f3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.justfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ fix:
7878

7979
codespell --write-changes
8080
just --unstable --fmt
81+
# try to fix rustc issues
82+
cargo fix --allow-staged
83+
# try to fix clippy issues
8184
cargo clippy --fix --allow-staged
8285

8386
# fmt must be last as clippy's changes may break formatting

0 commit comments

Comments
 (0)