remove nested in expr

This commit is contained in:
Folkert 2021-03-21 20:56:18 +01:00
parent 19f05c9db8
commit 197835b6ed
6 changed files with 26 additions and 80 deletions

View file

@ -1335,9 +1335,7 @@ fn expr_to_pattern_help<'a>(arena: &'a Bump, expr: &Expr<'a>) -> Result<Pattern<
spaces,
)),
Expr::ParensAround(sub_expr) | Expr::Nested(sub_expr) => {
expr_to_pattern_help(arena, sub_expr)
}
Expr::ParensAround(sub_expr) => expr_to_pattern_help(arena, sub_expr),
Expr::Record {
fields,