Skip to content

Commit 20b69e6

Browse files
committed
Fix RustDoc
1 parent a96fe02 commit 20b69e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/html/highlight.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ impl<'a> Classifier<'a> {
632632
},
633633
Some(c) => c,
634634
},
635-
TokenKind::RawIdent | TokenKind::UnknownPrefix => {
635+
TokenKind::RawIdent | TokenKind::UnknownPrefix | TokenKind::InvalidIdent => {
636636
Class::Ident(self.new_span(before, text))
637637
}
638638
TokenKind::Lifetime { .. } => Class::Lifetime,

0 commit comments

Comments
 (0)