-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Open
Labels
A-rustdoc-searchArea: Rustdoc's search featureArea: Rustdoc's search featureC-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.F-doc_cfg`#![feature(doc_cfg)]``#![feature(doc_cfg)]`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
When showing the main listing of functions in a module the doc
attribute info is shown in front of the short function description.
However, when you use the search to filter to just functions with a particular substring, the listing of search results doesn't show that doc
info. Please improve the search result display to show the additional info.
joseluis
Metadata
Metadata
Assignees
Labels
A-rustdoc-searchArea: Rustdoc's search featureArea: Rustdoc's search featureC-feature-requestCategory: A feature request, i.e: not implemented / a PR.Category: A feature request, i.e: not implemented / a PR.F-doc_cfg`#![feature(doc_cfg)]``#![feature(doc_cfg)]`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.
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
GuillaumeGomez commentedon Jul 9, 2020
I have issues to understand the problem here: can you provide screenshot where this is missing please?
Lokathor commentedon Jul 9, 2020
Sure, no problem.
Here, we see
GuillaumeGomez commentedon Jul 9, 2020
Ok I see. It would indeed be nice to have it on the search results as well. We'll try to add it there as well (don't hesitate to give it a try as well if you're interested 😄 ).
#[doc(cfg(…))]
,#[doc(cfg_hide(…))]
anddoc_auto_cfg
#43781