File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ for both parsing and the 2024 edition of the Style Guide:
4848rustfmt lib.rs --edition 2024
4949```
5050
51- The style edition can also be set in a ` rustfmt.toml ` configuration file:
51+ The style edition can also be set in a ` rustfmt.toml ` or ` .rustfmt.toml ` configuration file:
5252``` toml
5353style_edition = " 2024"
5454```
@@ -73,7 +73,7 @@ Running `cargo fmt` or `rustfmt` with the 2024 edition or style edition will
7373automatically migrate formatting over to the 2024 style edition formatting.
7474
7575Projects who have contributors that may utilize their editor's format-on-save
76- features are also strongly encouraged to add a ` . rustfmt.toml` file to their project
76+ features are also strongly encouraged to add a ` rustfmt.toml ` file to their project
7777that includes the corresponding ` style_edition ` utilized within their project, or to
7878encourage their users to ensure their local editor format-on-save feature is
7979configured to use that same ` style_edition ` .
You can’t perform that action at this time.
0 commit comments