Skip to content

“Copy item path to clipboard” button gives wrong string for modules #131021

Closed
@steffahn

Description

@steffahn

Image

Compare e..g https://doc.rust-lang.org/1.81.0/std/boxed/index.html, where the button correctly produces std::boxed in the clipboard,
with https://doc.rust-lang.org/nightly/std/boxed/index.html, where it currently gives me std::std::boxed instead!

I would guess, this is a change that came with the redesign in #129545, though I haven’t checked to confirm that.

This only happen with modules; things like structs, macros, type synonyms… als seem to work correctly.

cc @GuillaumeGomez, @notriddle

@rustbot label +T-rustdoc +T-rustdoc-frontend +A-rustdoc-ui

Metadata

Metadata

Assignees

Labels

C-bugCategory: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.T-rustdoc-frontendRelevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions