Function clippy_utils::remove_blocks[−][src]

pub fn remove_blocks<'tcx>(expr: &'tcx Expr<'tcx>) -> &'tcx Expr<'tcx>
Expand description

Remove blocks around an expression.

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