about summary refs log tree commit diff
path: root/compiler/rustc_ast_pretty/src/pprust/state/expr.rs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/rustc_ast_pretty/src/pprust/state/expr.rs')
-rw-r--r--compiler/rustc_ast_pretty/src/pprust/state/expr.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_ast_pretty/src/pprust/state/expr.rs b/compiler/rustc_ast_pretty/src/pprust/state/expr.rs
index 9e53ed41c46..caba5f2721a 100644
--- a/compiler/rustc_ast_pretty/src/pprust/state/expr.rs
+++ b/compiler/rustc_ast_pretty/src/pprust/state/expr.rs
@@ -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,