Skip to content

Commit afb6f8d

Browse files
committed
Fix RustDoc
1 parent 01e2d29 commit afb6f8d

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
@@ -488,7 +488,7 @@ impl<'a> Classifier<'a> {
488488
},
489489
Some(c) => c,
490490
},
491-
TokenKind::RawIdent | TokenKind::UnknownPrefix => {
491+
TokenKind::RawIdent | TokenKind::UnknownPrefix | TokenKind::InvalidIdent => {
492492
Class::Ident(self.new_span(before, text))
493493
}
494494
TokenKind::Lifetime { .. } => Class::Lifetime,

0 commit comments

Comments
 (0)