rustc_resolve::rustdoc

Function attrs_to_doc_fragments

source
pub fn attrs_to_doc_fragments<'a>(
    attrs: impl Iterator<Item = (&'a Attribute, Option<DefId>)>,
    doc_only: bool,
) -> (Vec<DocFragment>, AttrVec)