Rustdoc doesn't explain (or can't) linking to slice methods #62968
Labels
A-intra-doc-links
Area: Intra-doc links, the ability to link to items in docs by name
C-bug
Category: This is a bug.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
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 becausei32
and other primitives are always in scope you can point a link ati32::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.
The text was updated successfully, but these errors were encountered: