Skip to content

Commit 855a7db

Browse files
committed
rustfmt can now use edition setting in its config
... and this is set in Rust repo
1 parent 738e1cb commit 855a7db

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/conventions.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,9 @@ Formatting is checked by the `tidy` script. It runs automatically when you do
2222
`./x test` and can be run in isolation with `./x fmt --check`.
2323

2424
If you want to use format-on-save in your editor, the pinned version of
25-
`rustfmt` is built under `build/<target>/stage0/bin/rustfmt`. You'll have to
26-
pass the <!-- date-check: nov 2022 --> `--edition=2021` argument yourself when calling
27-
`rustfmt` directly.
25+
`rustfmt` is built under `build/<target>/stage0/bin/rustfmt`.
2826

2927
[fmt]: https://github.com/rust-dev-tools/fmt-rfcs
30-
3128
[`rustfmt`]:https://github.com/rust-lang/rustfmt
3229

3330
### Formatting C++ code

0 commit comments

Comments
 (0)