-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
C-bugCategory: This is a bug.Category: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Description
I've come across several issues related to the search tabs:
- While on the search results screen, if you click on the "As parameters" or "As return value" tabs, then type in a query, the results shown are from the "Types/modules" tab.
- The "As parameters" and "As return value" tabs only show results that have the query string in its name or path. Even then it's missing results. For example,
std::thread::current
has signaturepub fn current() -> Thread
, yet doesn't show up in the "As return value" tab when searching for "Thread". - When searching, functions whose name is the same as its return type are not shown on the "Types/modules" tab. (details in my second post)
I think the first tab shouldn't be labeled "Types/modules", as it also shows functions and macros.(moved to separate issue [rustdoc] Improve "Types/modules" label on the search results page #45787)
Link to the recent pull request implementing the search tabs
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.