Function clippy_utils::peel_hir_expr_unary
source · pub fn peel_hir_expr_unary<'a>(expr: &'a Expr<'a>) -> (&'a Expr<'a>, usize)
Expand description
Peels off all unary operators of an expression. Returns the underlying expression and the number of operators removed.