Search Aliases

Description

~#[doc(alias = "")]~ can be specified on items to add search aliases when searching through rustdoc UI. See the PR[fn:PR] for more information.

Syntax

#[doc(alias = “bar”)]
struct Foo;

Footnotes

[fn:PR]https://github.com/rust-lang/rust/pull/75740/