Skip to content

Switching versions from rustdoc source pages leads to a weird result #2922

@lolbinarycat

Description

@lolbinarycat

Reproduction steps:

  1. go to https://docs.rs/toml/0.5.11/src/toml/de.rs.html#2076-2156
  2. using the menu, go to any other version (or just go to https://docs.rs/crate/toml/0.9.6/target-redirect/x86_64-unknown-linux-gnu/toml/toml/de.rs.html)
  3. you will be redirected to a serach for "rs"

i believe this is because for non source pages, the middle element of the filename is the item name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions