Skip to main content

any_expr

Function any_expr 

Source
fn any_expr<'gcx>(
    hir: &'gcx Hir<'gcx>,
    stmts: &'gcx [Stmt<'gcx>],
    f: impl FnMut(&'gcx Expr<'gcx>) -> bool,
) -> bool
Expand description

Visits every expression under stmts, stopping as soon as f returns true.