rustc_ast::mut_visit

Function walk_flat_map_item

source
pub fn walk_flat_map_item<K: WalkItemKind>(
    visitor: &mut impl MutVisitor,
    item: P<Item<K>>,
) -> SmallVec<[P<Item<K>>; 1]>
Expand description

Mutates one item, returning the item again.