[][src]Function c2rust_refactor::ast_manip::util::extended_span

pub fn extended_span(s: Span, attrs: &[Attribute]) -> Span

Extend a node span to cover its attributes. (By default, item spans cover only the item body, not the preceding attrs.)