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)