Extend rustdoc search #65841
Labels
A-type-based-search
Area: Searching rustdoc pages using type signatures
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
First idea
It'd be nice to write stuff like:
"avec"::Vec
or evenvec::
.In the first example, you look specifically into the "avec" module/type and look for "Vec" inside it.
In the second example, you just look at everything inside the matching "vec" parent (so that maybe return a lot of things with a bad order).
Of course, both features could be used at the same time like:
hello::"avec"::
.Second idea
Another idea that came out was to be able to look at functions based on their arguments.
Third idea
Having reverse search: instead of looking for something, you'd look for anything that isn't this thing. However, it wouldn't be on the text search itself but on the items filtering. For example: "!struct:Vec".
cc @rust-lang/rustdoc
The text was updated successfully, but these errors were encountered: