Remove box_syntax
from AST and use in tools
This commit is contained in:
parent
dd7df04e16
commit
0932452fa4
28 changed files with 40 additions and 95 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue