clippy_utils

Function is_expr_final_block_expr

source
pub fn is_expr_final_block_expr(tcx: TyCtxt<'_>, expr: &Expr<'_>) -> bool
Expand description

Checks if the expression is the final expression returned from a block.