You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm a little unclear on what the style team intends for how future changes are documented. For example, the current style-guide documented behavior that rustfmt does not support. I'm not sure who the audience for this document is, or how this is intended to stay in sync with rustfmt. For example, if I read this and assume this is how it is supposed to work, and then rustfmt breaks that, it seems like that is confusing. Similarly, if I'm staying on an older edition, this documentation would be incorrect for my crate.
Perhaps changes like this could be "teed-up" in a PR, but not merged until the edition is stabilized (similar to how the reference works)? And include notes for parts that are edition-specific (so if I am using an older edition, I can see that something is different). In general, I'm a little confused on how this is intended to work.
Probably I'd frame this as a prompt for the style team to discuss whether, in light of experience, including with the edition, it is still happy with the nightly style process, or whether any changes might be worth considering.
This style guide describes the Rust 2024 style edition. The Rust 2024 style edition is currently nightly-only and may change before the release of Rust 2024.
For a full history of changes in the Rust 2024 style edition, see the git history of the style guide. Notable changes in the Rust 2024 style edition include:
The Style Guide text in-tree is reflective of the next, nightly-only Style Edition which is mutable and may or may not reflect implemented formatting behavior (i.e. the style guide text would now represent Style Edition 2027 or whatever vNext would be, not the stabilized style edition prescriptions for 2024 and below).
I'm open to trying to make that distinction more prominent if there are any suggestions on how to do so
Filing the question from...
...separately so it's not lost.
@ehuss asks:
Probably I'd frame this as a prompt for the style team to discuss whether, in light of experience, including with the edition, it is still happy with the nightly style process, or whether any changes might be worth considering.
@rustbot labels +I-style-nominated
cc @rust-lang/style
The text was updated successfully, but these errors were encountered: