fn detect_iter_and_into_iters<'tcx>(block: &'tcx Block<'tcx>, identifier: Ident) -> Option<Vec<IterFunction>> {
    let mut visitor = IterFunctionVisitor {
        uses: Vec::new(),
        target: identifier,
        seen_other: false,
    };
    visitor.visit_block(block);
    if visitor.seen_other { None } else { Some(visitor.uses) }
}
/// Detect the occurrences of calls to `iter` or `into_iter` for the
/// given identifier
Detect the occurrences of calls to `iter` or `into_iter` for the
given identifier
Detect the occurrences of calls to ` iter ` or ` into_iter ` for the given identifier
fn detect_iter_and_into_iters<'tcx>(block: &'tcx Block<'tcx>, identifier: Ident) -> Option<Vec<IterFunction>> {
    let mut visitor = IterFunctionVisitor {
        uses: Vec::new(),
        target: identifier,
        seen_other: false,
    };
    visitor.visit_block(block);
    if visitor.seen_other { None } else { Some(visitor.uses) }
}
fn detect_iter_and_into_iters < ' tcx > ( block : & ' tcx Block < ' tcx > , identifier : Ident ) -> Option < Vec < IterFunction > > { let mut visitor = IterFunctionVisitor { uses : Vec :: new ( ) , target : identifier , seen_other : false , } ; visitor . visit_block ( block ) ; if visitor . seen_other { None } else { Some ( visitor . uses ) } }
Detect the occurrences of calls to `iter` or `into_iter` for the
given identifier
Detect the occurrences of calls to ` iter ` or ` into_iter ` for the given identifier
block
&'tcx Block<'tcx>
identifier
Ident
block
&'tcx Block<'tcx>
identifier
Ident