Skip to content

Commit

Permalink
Remove dependency on StringReader from rustdoc highlighter
Browse files Browse the repository at this point in the history
rustc_lexer is the lossless lexer, which is a better fit for
approximate syntax highlighting.

As a side-effect, we can now syntax-highlight even broken code.
  • Loading branch information
matklad committed Aug 27, 2020
1 parent f7cbb7a commit 1f95a91
Show file tree
Hide file tree
Showing 3 changed files with 234 additions and 356 deletions.
Loading

0 comments on commit 1f95a91

Please sign in to comment.