Skip to content

Commit 6e36008

Browse files
m-ou-selcnr
andauthored
Fix typo in pretty printing super let.
Co-authored-by: lcnr <[email protected]>
1 parent ef5b70e commit 6e36008

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_ast_pretty/src/pprust

1 file changed

+1
-1
lines changed

compiler/rustc_ast_pretty/src/pprust/state.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1337,7 +1337,7 @@ impl<'a> State<'a> {
13371337
self.space_if_not_bol();
13381338
self.ibox(INDENT_UNIT);
13391339
if loc.super_.is_some() {
1340-
self.word_nbsp("let");
1340+
self.word_nbsp("super");
13411341
}
13421342
self.word_nbsp("let");
13431343

0 commit comments

Comments
 (0)