Skip to content

rustdoc: The short description of #[doc(cfg(target_feature = ...))] shouldn't spell out "target feature" #49334

Closed
@kennytm

Description

@kennytm

The words "target feature" are redundant

rustdoc's short description of #[doc(cfg(target_feature = ...))] is showing something like [x86-64 and target feature avx]. The words "target feature" is unnecessary since usually it is clear what avx means from context, i.e. [x86-64 and avx] should be clear enough.

Metadata

Metadata

Labels

C-enhancementCategory: An issue proposing an enhancement or a PR with one.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions