From ab5e9006ef9517f5bb420a9b2a69f264cbdee817 Mon Sep 17 00:00:00 2001 From: "Dustin J. Mitchell" Date: Tue, 25 Jun 2024 04:07:15 -0400 Subject: [PATCH] Use stable rustfmt (#2168) This uses the `rustfmt` from the stable toolchain, instead of nightly. At the moment, nightly's `rustfmt` is nonfunctional, but in general we don't need bleeding-edge formatting (and in fact, the more often formatting changes, the more often we'll get spurious failures on PRs, as we are today). Fixes #2165. --- dprint.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dprint.json b/dprint.json index 314447f0..93547eb3 100644 --- a/dprint.json +++ b/dprint.json @@ -9,7 +9,7 @@ "command": "yapf3", "exts": ["py"] }, { - "command": "rustup run nightly rustfmt --edition 2021", + "command": "rustup run stable rustfmt --edition 2021", "exts": ["rs"] }, { "command": "msgcat -",