We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
#[doc(alias)]
1 parent 7fdefb8 commit 686b034Copy full SHA for 686b034
src/doc/rustdoc/src/advanced-features.md
@@ -80,7 +80,8 @@ pub struct BigX;
80
Then, when looking for it through the `rustdoc` search, if you enter "x" or
81
"big", search will show the `BigX` struct first.
82
83
-There are some limitations on the doc alias names though: you can't use `"` or whitespace.
+There are some limitations on the doc alias names though: you can't use quotes (`'`, `"`) or whitespaces;
84
+ASCII spaces are accepted as long as they're not at the beginning or the end of the alias.
85
86
You can add multiple aliases at the same time by using a list:
87
0 commit comments