Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upRustdoc: Hide trait impl fn:s on pressing + for types #45720
Comments
This comment has been minimized.
This comment has been minimized.
|
I can rewrite this as an RFC if required, but I was unsure about the protocol wrt. rustdoc. |
estebank
added
T-rustdoc
C-enhancement
labels
Nov 2, 2017
This comment has been minimized.
This comment has been minimized.
|
Similar request: #40363 |
vi
added a commit
to vi/rust
that referenced
this issue
Jan 31, 2018
bors
added a commit
that referenced
this issue
Feb 23, 2018
bors
added a commit
that referenced
this issue
Feb 24, 2018
Manishearth
added a commit
to Manishearth/rust
that referenced
this issue
Feb 25, 2018
Manishearth
added a commit
to Manishearth/rust
that referenced
this issue
Feb 25, 2018
bors
added a commit
that referenced
this issue
Feb 26, 2018
bors
added a commit
that referenced
this issue
Feb 28, 2018
This comment has been minimized.
This comment has been minimized.
|
Closing as resolved. |
Centril
closed this
Mar 18, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Centril commentedNov 2, 2017
When pressing the
+hotkey on type's documentation such as on the documentation of Option, the methods of theimplare 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 traitimplbut still show all associated items (types and consts) for eachimpl(since they carry useful information).In addition, a
[+]/[-]link should be added on all theimpls (including non-trait impls) either besides[src]or to the left of theimpl(as done withfns this expands and collapses the impls but keeps associated items shown.