Open
Description
I've seen #34025, but in the following case rustdoc
still generates documentation for hidden()
in the impl Bar for Foo
(but as tymethod
instead of method
). It works correctly if hidden()
is also marked as hidden in the trait definition.
pub struct Foo;
pub trait Bar {
fn test();
fn hidden();
}
impl Bar for Foo {
fn test() {}
#[doc(hidden)] fn hidden() {}
}
rustc -V
:
rustc 1.13.0-nightly (e9bc1bac8 2016-08-24)