Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/rust-2024/rustfmt-style-edition.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ for both parsing and the 2024 edition of the Style Guide:
rustfmt lib.rs --edition 2024
```

The style edition can also be set in a `rustfmt.toml` configuration file:
The style edition can also be set in a `rustfmt.toml` or `.rustfmt.toml` configuration file:
```toml
style_edition = "2024"
```
Expand All @@ -73,7 +73,7 @@ Running `cargo fmt` or `rustfmt` with the 2024 edition or style edition will
automatically migrate formatting over to the 2024 style edition formatting.

Projects who have contributors that may utilize their editor's format-on-save
features are also strongly encouraged to add a `.rustfmt.toml` file to their project
features are also strongly encouraged to add a `rustfmt.toml` file to their project
that includes the corresponding `style_edition` utilized within their project, or to
encourage their users to ensure their local editor format-on-save feature is
configured to use that same `style_edition`.
Expand Down