Tweak await span
This commit is contained in:
parent
12a2f24b15
commit
f0fc4f9acf
86 changed files with 480 additions and 401 deletions
|
@ -447,7 +447,7 @@ impl<'a> State<'a> {
|
|||
self.ibox(0);
|
||||
self.print_block_with_attrs(blk, attrs);
|
||||
}
|
||||
ast::ExprKind::Await(expr) => {
|
||||
ast::ExprKind::Await(expr, _) => {
|
||||
self.print_expr_maybe_paren(expr, parser::PREC_POSTFIX);
|
||||
self.word(".await");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue