1
Fork 0

Remove the NodeId of ast::ExprKind::Async

This commit is contained in:
Arpad Borsos 2023-01-31 22:13:25 +01:00
parent ab9bb3ea36
commit c8ead2e693
No known key found for this signature in database
GPG key ID: FC7BCA77824B3298
14 changed files with 56 additions and 64 deletions

View file

@ -439,7 +439,7 @@ impl<'a> State<'a> {
self.ibox(0);
self.print_block_with_attrs(blk, attrs);
}
ast::ExprKind::Async(capture_clause, _, blk) => {
ast::ExprKind::Async(capture_clause, blk) => {
self.word_nbsp("async");
self.print_capture_clause(*capture_clause);
// cbox/ibox in analogy to the `ExprKind::Block` arm above