-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Closed
Labels
A-intra-doc-linksArea: Intra-doc links, the ability to link to items in docs by nameArea: Intra-doc links, the ability to link to items in docs by nameC-bugCategory: This is a bug.Category: This is a bug.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
Rustdoc documentation tells you link to an item with [text](rust::path::to::item)
. You can even use paths appropriate to the current context to name an item, and so because i32
and other primitives are always in scope you can point a link at i32::abs
or whatever. However, you seemingly can't direct a link at a method of a slice because you can't name the slice primitive type.
This is maybe just a docs issue, or maybe there needs to be special handling added in some way.
chrisduerr, timvermeulen and lschuermann
Metadata
Metadata
Assignees
Labels
A-intra-doc-linksArea: Intra-doc links, the ability to link to items in docs by nameArea: Intra-doc links, the ability to link to items in docs by nameC-bugCategory: This is a bug.Category: This is a bug.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.