Apply suggestions from code review

Co-authored-by: Travis Cross <tc@traviscross.com>
This commit is contained in:
Eric Holk 2025-03-18 10:50:33 -07:00 committed by GitHub
parent 9b0e7f6264
commit 299e5d0514
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -774,7 +774,7 @@ impl<'a> State<'a> {
}
}
ast::ExprKind::Yield(e, YieldKind::Postfix) => {
// it's not possible to have a postfix yield with no expression.
// It's not possible to have a postfix yield with no expression.
let e = e.as_ref().unwrap();
self.print_expr_cond_paren(
e,