Skip to main content

is_empty_block

Function is_empty_block 

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

Check if the given Expr is an empty block (i.e. {}) or not.