File tree 1 file changed +2
-2
lines changed
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:
48
48
rustfmt lib.rs --edition 2024
49
49
```
50
50
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:
52
52
``` toml
53
53
style_edition = " 2024"
54
54
```
@@ -73,7 +73,7 @@ Running `cargo fmt` or `rustfmt` with the 2024 edition or style edition will
73
73
automatically migrate formatting over to the 2024 style edition formatting.
74
74
75
75
Projects 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
77
77
that includes the corresponding ` style_edition ` utilized within their project, or to
78
78
encourage their users to ensure their local editor format-on-save feature is
79
79
configured to use that same ` style_edition ` .
You can’t perform that action at this time.
0 commit comments