Function clippy_utils::hir_utils::reduce_exprkind
source ยท fn reduce_exprkind<'hir>(
cx: &LateContext<'_>,
kind: &'hir ExprKind<'hir>,
) -> &'hir ExprKind<'hir>
Expand description
Some simple reductions like { return }
=> return