You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Centril opened this issue
Apr 30, 2018
· 1 comment
Labels
A-docsArea: documentation for any part of the project, including the compiler, standard library, and toolsT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.
If we visit a page such as: https://doc.rust-lang.org/nightly/std/convert/trait.From.html
we will see "Show type declaration" when folding of the declaration is done.
However, From is a trait and not a type, so the documentation is potentially misleading or confusing.
I propose two alternatives to address this problem:
Remove "type" and only say "Show declaration"; This removes information when you actually land on the documentation of a type.
Say "Show trait declaration" instead when it is a trait.
The text was updated successfully, but these errors were encountered:
Centril
added
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
A-docs
Area: documentation for any part of the project, including the compiler, standard library, and tools
labels
Apr 30, 2018
A-docsArea: documentation for any part of the project, including the compiler, standard library, and toolsT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.
If we visit a page such as: https://doc.rust-lang.org/nightly/std/convert/trait.From.html
we will see "Show type declaration" when folding of the declaration is done.
However,
From
is a trait and not a type, so the documentation is potentially misleading or confusing.I propose two alternatives to address this problem:
Remove "type" and only say "Show declaration"; This removes information when you actually land on the documentation of a type.
Say "Show trait declaration" instead when it is a trait.
The text was updated successfully, but these errors were encountered: