Skip to content

intra-doc links to modules instead of primitives inside standard library #58699

Closed
@tspiteri

Description

@tspiteri

For example in the doc for str::len:

This length is in bytes, not chars or graphemes.

The char in the doc links to char/index.html instead of primitive.char.html.

Outside of the standard library, char links to the primitive, unless there is a use std::char; statement in which case it links to the module.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-intra-doc-linksArea: Intra-doc links, the ability to link to items in docs by nameT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions