summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/check-format2
-rwxr-xr-xtools/reformat2
2 files changed, 2 insertions, 2 deletions
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