Skip to content

rustdoc: "Copy Item Path" adds more nonsense #137048

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
aDotInTheVoid opened this issue Feb 14, 2025 · 2 comments
Closed

rustdoc: "Copy Item Path" adds more nonsense #137048

aDotInTheVoid opened this issue Feb 14, 2025 · 2 comments
Assignees
Labels
A-rustdoc-js Area: Rustdoc's JS front-end A-rustdoc-ui Area: Rustdoc UI (generated HTML) C-bug Category: This is a bug. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.

Comments

@aDotInTheVoid
Copy link
Member

aDotInTheVoid commented Feb 14, 2025

On https://doc.rust-lang.org/nightly/std/vec/struct.Vec.html clicking the "Copy Item Path to Clipboard" button copies std::vec - Rust::Vec, instead of std::vec::Vec

Version: 1.86.0-nightly (a567209 2025-02-13)

It works correctly on stable (1.84.1 (e71f9a9a9 2025-01-27) and beta 1.85.0-beta.9 (461de7492 2025-02-13).

@aDotInTheVoid aDotInTheVoid added the C-bug Category: This is a bug. label Feb 14, 2025
@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Feb 14, 2025
@aDotInTheVoid aDotInTheVoid added T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. A-rustdoc-ui Area: Rustdoc UI (generated HTML) A-rustdoc-js Area: Rustdoc's JS front-end T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output. and removed needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. labels Feb 14, 2025
@tapanprakasht
Copy link
Contributor

@rustbot claim

matthiaskrgr added a commit to matthiaskrgr/rust that referenced this issue Feb 15, 2025
…r=aDotInTheVoid

fix(rustdoc): Fixed `Copy Item Path` in rust doc

This PR aims to address the issue reported by rust-lang#137048
Issue caused by previous changes for removing `@ts-expect-error` by this change rust-lang@2ea95f8
rust-timer added a commit to rust-lang-ci/rust that referenced this issue Feb 16, 2025
Rollup merge of rust-lang#137068 - tapanprakasht:fix-copy-item-path, r=aDotInTheVoid

fix(rustdoc): Fixed `Copy Item Path` in rust doc

This PR aims to address the issue reported by rust-lang#137048
Issue caused by previous changes for removing `@ts-expect-error` by this change rust-lang@2ea95f8
@GuillaumeGomez
Copy link
Member

Fixed in #137068.

@lolbinarycat lolbinarycat marked this as a duplicate of #139544 Apr 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-rustdoc-js Area: Rustdoc's JS front-end A-rustdoc-ui Area: Rustdoc UI (generated HTML) C-bug Category: This is a bug. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.
Projects
None yet
Development

No branches or pull requests

4 participants