-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
P-lowLow priorityLow priorityT-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.
Milestone
Description
rustdoc should have a landing page for primitive types.
Currently, there is nowhere to look in rustdoc for the list of methods that apply to &str
, u8
, or other primitive types. The std::str
module is especially problematic, since it provides a Str
trait with the sole as_slice
method, which is very confusing to newcomers.
See #11409 for an earlier attempt to address this problem.
#6065 and #11526 may also be related.
I think this needs to happen before 1.0. Nominating.
Metadata
Metadata
Assignees
Labels
P-lowLow priorityLow priorityT-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.