Skip to content

Searching "&" and "&mut" in stdlib api docs should show "reference (primitive)" #46075

Description

@Havvy

If you don't recall or know the name of the reference primitive (like, uh, I did earlier), searching on https://doc.rust-lang.org/std/ for "&", "&m", "&mu", and "&mut" should show the result "reference (primitive)" as the first result.

Likewise for [] and [;] for slices and arrays, and () and (,) and (,,) and etc. for tuples. And probably others.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-type-based-searchArea: Searching rustdoc pages using type signaturesC-feature-requestCategory: A feature request, i.e: not implemented / a PR.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