Skip to content

"Directly go to item in search if there is only one result" doesn't allow going back after a search #112676

Closed
@Nemo157

Description

@Nemo157

Reproduction:

I expected this to happen: Go back to https://doc.rust-lang.org/stable/std/
Instead, this happened: Goes back to https://doc.rust-lang.org/stable/std/?search=UnixStream then instantly redirects forward again

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-rustdoc-jsArea: Rustdoc's JS front-endA-rustdoc-searchArea: Rustdoc's search featureC-bugCategory: This is a bug.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