Skip to content

Review of nightly style process #202

Open
@traviscross

Description

@traviscross

Filing the question from...

...separately so it's not lost.

@ehuss asks:

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.

@rustbot labels +I-style-nominated

cc @rust-lang/style

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions