-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Closed
Closed
Copy link
Labels
T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Description
- Go to https://doc.rust-lang.org/std/vec/struct.Vec.html
- Scroll page to method definitions
- Click to any "Examples" or "Panics" header.
- Page jumps to the first same block on the page.
The problem is that all of these links have the same anchors (#examples, #panics). It is discouraging, especially when you're trying to give someone a link to an example of the documentation.
If it is not an easy fix, it might be worth at least remove <a> in these headers, and especially remove section character (§) on hover (it is clearly suggests that the link can be copied, but url is invalid).
And I'm sorry if this is a duplicate, I haven't found any similar issue.
Metadata
Metadata
Assignees
Labels
T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.