Function clippy_lints::utils::remove_blocks [] [src]

pub fn remove_blocks(expr: &Expr) -> &Expr

Remove blocks around an expression.

Ie. x, { x } and {{{{ x }}}} all give x. { x; y } and {} return themselves.