-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
C-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
When pressing the +
hotkey on type's documentation such as on the documentation of Option, the methods of the impl
are still shown. This is however mostly useless information that gets in the way of scrolling to see what traits a type implements.
It would be more ergonomic if +
would hide every method of every trait impl
but still show all associated items (types and consts) for each impl
(since they carry useful information).
In addition, a [+]
/[-]
link should be added on all the impl
s (including non-trait impls) either besides [src]
or to the left of the impl
(as done with fn
s this expands and collapses the impls but keeps associated items shown.
durka
Metadata
Metadata
Assignees
Labels
C-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.