Skip to content

doc website: stable options should indicate since when they're stable #4154

@majewsky

Description

@majewsky

I just saw this warning message:

$ cat rustfmt.toml
max_width = 100
chain_width = 80
$ rustfmt --edition 2018 src/main.rs
Warning: Unknown configuration option `chain_width`

This was surprising to me because, according to https://rust-lang.github.io/rustfmt/#chain_width, the chain_width option is stable. However, it appears that the documentation for chain_width was only added a few days ago in f1a44c5, i.e. after the release from which my rustfmt was built.

To avoid this confusion, it would be great if the doc website did not just say Stable: yes on stable options, but something like Stable: since $VERSION or Stable: since $DATE.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions