Fix HIR printing of yield
This commit is contained in:
parent
94a82adbb4
commit
1e6ec9f33a
1 changed files with 1 additions and 1 deletions
|
@ -1495,7 +1495,7 @@ impl<'a> State<'a> {
|
|||
self.pclose()?;
|
||||
}
|
||||
hir::ExprYield(ref expr) => {
|
||||
self.s.word("yield")?;
|
||||
self.word_space("yield")?;
|
||||
self.print_expr_maybe_paren(&expr, parser::PREC_JUMP)?;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue