Sidebar links for methods from Deref are wrong if the type has a method of the same name #100679
Labels
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.
On https://doc.rust-lang.org/nightly/std/vec/struct.Vec.html, there's two
is_empty
methods, one fromVec
(why doesVec
even have its own rather than relying on the slice one?? 😅) and one from[T]
whichVec
deref's to:Vec
)[T]
)The link
is_empty
in the sidebar section "Methods from Deref<Target = [T]>" however doesn't link to the latter, it links to the former.@rustbot labels: +T-rustdoc +A-rustdoc-ui
The text was updated successfully, but these errors were encountered: