Skip to content

Commit

Permalink
Use stable rustfmt (#2168)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
djmitche authored Jun 25, 2024
1 parent 1fb2846 commit ab5e900
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dprint.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 -",
Expand Down

0 comments on commit ab5e900

Please sign in to comment.