Function rustdoc::clean::inline::merge_attrs

source ·
pub(crate) fn merge_attrs(
    cx: &mut DocContext<'_>,
    old_attrs: &[Attribute],
    new_attrs: Option<(&[Attribute], Option<DefId>)>
) -> (Attributes, Option<Arc<Cfg>>)