Skip to content

No documentation for primitives in core #80334

Closed
@rossmacarthur

Description

@rossmacarthur

There is no documentation for primitives in core, the only documentation exists in std. I don't think there is any reason for a user to assume that all associated functions and methods on primitive types that are available in std are also available in core.

Some confusing things:

  • The primitives are not listed in the crate root. See here
  • The core::primitive module documentation primitives have no links. See here
  • The the primitive types modules such as core::i32 link to the std documentation for primitives. See here

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsA-rustdoc-uiArea: Rustdoc UI (generated HTML)C-enhancementCategory: An issue proposing an enhancement or a PR with one.T-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