rustdoc: doc(hidden)
methods from traits show up on implementors
#86145
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.
The __iterator_get_unchecked method on
Iterator
isdoc(hidden)
: https://doc.rust-lang.org/nightly/src/core/iter/traits/iterator.rs.html#3425-3437, and it is correctly hidden in the main part ofIterator
's page. However, it still shows up in the Implementations section of structs that implement the trait, likestd::str::Bytes
:https://doc.rust-lang.org/1.52.0/std/str/struct.Bytes.html#method.__iterator_get_unchecked
The method should be hidden in all contexts.
The text was updated successfully, but these errors were encountered: