Skip to content

Rustdoc reduce search rank for deprecated items #98759

Closed
@pickfire

Description

@pickfire

When user search radix the non-const which is deprecated rank higher than the non-deprecated version.

image

Would be nice to reduce rank of deprecated items in search, it appears on the first result.

It would be better if the search result show that the item is deprecated in favor of something else, and that something else have a higher ranking.

@rustbot label A-rustdoc-search C-enhancement T-rustdoc

Metadata

Metadata

Assignees

Labels

A-rustdoc-searchArea: Rustdoc's search featureC-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