fn doc_attrs<'a>(attrs: impl Iterator<Item = &'a Attribute>) -> Attributes