Pretty print async block without redundant space
This commit is contained in:
parent
a9f14c18fa
commit
33c29a3ad3
3 changed files with 5 additions and 6 deletions
|
@ -2068,7 +2068,6 @@ impl<'a> State<'a> {
|
|||
ast::ExprKind::Async(capture_clause, _, ref blk) => {
|
||||
self.word_nbsp("async");
|
||||
self.print_capture_clause(capture_clause);
|
||||
self.s.space();
|
||||
// cbox/ibox in analogy to the `ExprKind::Block` arm above
|
||||
self.cbox(INDENT_UNIT);
|
||||
self.ibox(0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue