mirror of
https://github.com/google/comprehensive-rust.git
synced 2024-12-26 19:23:22 +02:00
Always use a nightly rustfmt
in dprint fmt
(#1694)
Without this, several of the formatting directives in our `rustfmt.toml` file won’t have any effect. This will in turn lead to mismatches between the formatting done locally and in CI. This creates a dependency on `rustup`, but I think this is overall better than silently ignoring the formatting directives. From the discussion in #1682.
This commit is contained in:
parent
94b517461e
commit
312e1515ec
@ -9,7 +9,7 @@
|
||||
"command": "yapf3",
|
||||
"exts": ["py"]
|
||||
}, {
|
||||
"command": "rustfmt --edition 2021",
|
||||
"command": "rustup run nightly rustfmt --edition 2021",
|
||||
"exts": ["rs"]
|
||||
}, {
|
||||
"command": "msgcat -",
|
||||
|
Loading…
Reference in New Issue
Block a user