Skip to content

rustdoc: Primitive data type methods like min/max/clamp are not discoverable #61190

Open
@dwbuiten

Description

@dwbuiten

Currently, searching the rust stdlib docs for, as an example, 'i32 min', will not find any info at all, and the the i32 page (https://doc.rust-lang.org/std/primitive.i32.html) is not searchable with standard CTRL-F in some browsers like Firefox, since min/max/clamp are hidden under the by-default-collapsed section on Ord. This lack of searchability/discoverability extends to Google results.

I'm not sure what the bets method to remedy this is, but fixing the on-site search to know about these is probably a good start.

Metadata

Metadata

Assignees

No one assigned

    Labels

    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