Function rustdoc::clean::utils::has_doc_flag
source · Expand description
Checks for the existence of hidden
in the attribute below if flag
is sym::hidden
:
#[doc(hidden)]
pub fn foo() {}
RunThis function exists because it runs on hir::Attributes
whereas the other is a
clean::Attributes
method.