1
Fork 0

Remove box_syntax from AST and use in tools

This commit is contained in:
clubby789 2023-02-27 13:17:29 +00:00
parent dd7df04e16
commit 0932452fa4
28 changed files with 40 additions and 95 deletions

View file

@ -296,10 +296,6 @@ impl<'a> State<'a> {
self.ibox(INDENT_UNIT);
self.ann.pre(self, AnnNode::Expr(expr));
match &expr.kind {
ast::ExprKind::Box(expr) => {
self.word_space("box");
self.print_expr_maybe_paren(expr, parser::PREC_PREFIX);
}
ast::ExprKind::Array(exprs) => {
self.print_expr_vec(exprs);
}