Skip to content

Tracking issue for num_bits_bytes stabilization #27753

Closed
@aturon

Description

@aturon

The BITS and BYTES constants for e.g. i32 are currently unstable, due to lack of clarity around:

  • Should these be associated constants of the type instead?
  • Is there a better way to get at these via e.g. size_of?

cc @eddyb

Metadata

Metadata

Assignees

No one assigned

    Labels

    B-unstableBlocker: Implemented in the nightly compiler and unstable.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.final-comment-periodIn the final comment period and will be merged soon unless new substantive objections are raised.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions