#[doc(alias)]'s doc: say that ASCII spaces are allowed

This commit is contained in:
Lieselotte 2024-07-08 23:12:31 +02:00
parent 32e692681e
commit ec662e7606
No known key found for this signature in database
GPG Key ID: 68A9A951C7E1F283

View File

@ -80,7 +80,8 @@ 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.
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: they cannot contain quotes (`'`, `"`)
or most whitespace. ASCII space is allowed if it does not start or end the alias.
You can add multiple aliases at the same time by using a list: