From 5bc9dc01618421596d65a7046e46559a872c6693 Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Mon, 25 Aug 2025 22:38:19 -0400 Subject: Group Rust imports by crate. I've been doing this by hand anyways, and this makes it a _ton_ less tedious to maintain. I think it looks nice. This does, however, require nightly - for formatting only. --- tools/check-format | 2 +- tools/reformat | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/check-format b/tools/check-format index 3b68537..bd57435 100755 --- a/tools/check-format +++ b/tools/check-format @@ -8,4 +8,4 @@ cd "$(dirname "$0")/.." npx prettier --check . -cargo fmt --all --check +cargo +nightly fmt --all --check diff --git a/tools/reformat b/tools/reformat index 4dfe7c3..00d61ef 100755 --- a/tools/reformat +++ b/tools/reformat @@ -7,4 +7,4 @@ cd "$(dirname "$0")/.." npx prettier --write . -cargo fmt --all +cargo +nightly fmt --all -- cgit v1.2.3