Function rustdoc::clean::utils::has_doc_flag [−][src]
pub(crate) fn has_doc_flag(attrs: Attributes<'_>, flag: Symbol) -> boolExpand 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.