Skip to content

Move primitive docs to core #83624

Closed
Closed
@camelid

Description

@camelid

Rust primitives are currently documented in std, but in some cases we want to link to primitives from core (cc #83577). Also, core seems like it would be a better place to document primitives since they are available in programs that are no_std (yes, they're also available in no_core programs, but we have to put the docs somewhere).

We would probably have to re-export the primitives in std (and alloc too?) so as not to break links.

What do you (T-rustdoc, T-libs) think?

cc @rust-lang/rustdoc

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsC-discussionCategory: Discussion or questions that doesn't represent real issues.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.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