is_unit_expr

Function is_unit_expr 

Source
pub fn is_unit_expr(expr: &Expr<'_>) -> bool
Expand description

Checks if expr is an empty block or an empty tuple.