Function clippy_utils::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.
pub fn is_expr_final_block_expr(tcx: TyCtxt<'_>, expr: &Expr<'_>) -> bool
Checks if the expression is the final expression returned from a block.