-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
Open
Labels
A-rustdoc-searchArea: Rustdoc's search featureArea: Rustdoc's search featureC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.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
A search for "add" includes these results:
std::time::Instant::add Panics
std::time::SystemTime::add Panics
This gives the impression that those functions unconditionally panic, which they don't. I think the fix here is that the summary for search purposes should only be taken from text that appears before the first heading in the docblock. If there is no text before a heading, there should be no summary.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-rustdoc-searchArea: Rustdoc's search featureArea: Rustdoc's search featureC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.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.