Fix typo in pretty printing super let.

Co-authored-by: lcnr <rust@lcnr.de>
This commit is contained in:
Mara Bos 2025-04-02 23:48:13 +02:00
parent 3123df8ef0
commit f02e278639

View file

@ -1337,7 +1337,7 @@ impl<'a> State<'a> {
self.space_if_not_bol(); self.space_if_not_bol();
self.ibox(INDENT_UNIT); self.ibox(INDENT_UNIT);
if loc.super_.is_some() { if loc.super_.is_some() {
self.word_nbsp("let"); self.word_nbsp("super");
} }
self.word_nbsp("let"); self.word_nbsp("let");