Rollup merge of #86358 - klensy:pp-loop, r=Mark-Simulacrum

fix pretty print for `loop`
This commit is contained in:
Yuki Okushi
2021-06-29 00:26:55 +09:00
committed by GitHub
6 changed files with 20 additions and 5 deletions

View File

@@ -1539,7 +1539,6 @@ impl<'a> State<'a> {
self.word_space(":");
}
self.head("loop");
self.s.space();
self.print_block(&blk);
}
hir::ExprKind::Match(ref expr, arms, _) => {