rustc_ast::mut_visit

Function visit_opt

Source
fn visit_opt<T, F>(opt: &mut Option<T>, visit_elem: F)
where F: FnMut(&mut T),