1
Fork 0

fix pretty print for loop in mir and hir

This commit is contained in:
klensy 2021-06-16 13:25:00 +03:00
parent 52b22869db
commit ac72773215
6 changed files with 20 additions and 5 deletions

View file

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