(&mut self, expr: &'a mut Expr<Raw>)
| 48 | |
| 49 | impl<'a> VisitMut<'a, Raw> for RemoveParens { |
| 50 | fn visit_expr_mut(&mut self, expr: &'a mut Expr<Raw>) { |
| 51 | if let Expr::Nested(e) = expr { |
| 52 | *expr = (**e).clone(); |
| 53 | } |
| 54 | visit_mut::visit_expr_mut(self, expr); |
| 55 | } |
| 56 | } |
| 57 | |
| 58 | for (actual, expected) in &[ |