rustdoc::clean

Function filter_doc_attr

Source
fn filter_doc_attr(normal: &mut NormalAttr, is_inline: bool)
Expand description

Remove attributes from normal that should not be inherited by use re-export. Before calling this function, make sure normal is a #[doc] attribute.