Skip to content

Nightly usize docs show everything as “Available on 64-bit only” #149786

@narpfel

Description

@narpfel

Location (URL)

https://doc.rust-lang.org/nightly/std/primitive.usize.html#impl-usize

Summary

Everything in the first impl usize section on the (nightly) usize docs page is listed as “Available on 64-bit only”. This does not happen on the beta and stable versions of that page, so it seems like a recent change.

I noticed this while reading the docs for checked_signed_diff. I didn’t know that method before, so the incorrect note confused me.

I tried to search for https://github.com/rust-lang/rust/issues?q=Available%20on%2064-bit%20only%20usize, but I don’t trust the GitHub issue search enough to be confident that this is not a duplicate, so sorry in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsC-bugCategory: This is a bug.F-doc_cfg`#![feature(doc_cfg)]`I-prioritizeIssue: Indicates that prioritization has been requested for this issue.S-has-bisectionStatus: A bisection has been found for this issueT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions