-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Closed
Labels
A-rustdoc-uiArea: Rustdoc UI (generated HTML)Area: Rustdoc UI (generated HTML)C-bugCategory: This is a bug.Category: This is a bug.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
On https://doc.rust-lang.org/nightly/std/vec/struct.Vec.html, there's two is_empty methods, one from Vec (why does Vec even have its own rather than relying on the slice one?? 😅) and one from [T] which Vec deref's to:
- https://doc.rust-lang.org/nightly/std/vec/struct.Vec.html#method.is_empty (
Vec) - https://doc.rust-lang.org/nightly/std/vec/struct.Vec.html#method.is_empty-1 (
[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
Metadata
Metadata
Assignees
Labels
A-rustdoc-uiArea: Rustdoc UI (generated HTML)Area: Rustdoc UI (generated HTML)C-bugCategory: This is a bug.Category: This is a bug.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.