Function clippy_utils::visitors::for_each_expr

source ยท
pub fn for_each_expr<'tcx, B, C: Continue>(
    cx: &LateContext<'tcx>,
    node: impl Visitable<'tcx>,
    f: impl FnMut(&'tcx Expr<'tcx>) -> ControlFlow<B, C>,
) -> Option<B>
Expand description

Calls the given function once for each expression contained. This will enter bodies, but not nested items.