Closed
Description
Edit: Implemented in #49757. From the docs:
This feature allows you to add alias(es) to an item when using the rustdoc
search through the doc(alias)
attribute. Example:
#![feature(doc_alias)]
#[doc(alias = "x")]
#[doc(alias = "big")]
pub struct BigX;
Then, when looking for it through the rustdoc
search, if you enter "x" or "big", search will show the BigX
struct first.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
Area: `#[doc(alias)]`Blocker: Implemented in the nightly compiler and unstable.Category: A tracking issue for an RFC or an unstable feature.Relevant to the rustdoc team, which will review and decide on the PR/issue.This issue / PR is in PFCP or FCP with a disposition to merge it.The final comment period is finished for this PR / Issue.