Skip to content

enable "go to exact" for rustdoc #102590

Open
@Emilgardis

Description

@Emilgardis

I would really like something like go_to_exact in rustdoc that we could add for the :: redirects. I don't think we can just add go_to_first always because e.g. https://docs.rs/tokio?search=tokio::span&go_to_first=true goes to the tokio::spawn docs.

Originally posted by @Nemo157 in rust-lang/docs.rs#1830 (comment)

Add a query go_to_exact which will only use go_to_first if the match is "exact", what "exact" means should be determined.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-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