-
-
Notifications
You must be signed in to change notification settings - Fork 16.8k
Rustdoc reduce search rank for deprecated items #98759
Copy link
Copy link
Closed
Labels
A-rustdoc-searchArea: Rustdoc's search featureArea: Rustdoc's search featureC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: 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.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Description
Activity
Metadata
Metadata
Assignees
Labels
A-rustdoc-searchArea: Rustdoc's search featureArea: Rustdoc's search featureC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: 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.Relevant to the rustdoc team, which will review and decide on the PR/issue.
When user search
radixthe non-const which is deprecated rank higher than the non-deprecated version.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