Skip to content

Commit ced37a5

Browse files
committed
Auto merge of rust-lang#75775 - matklad:rustc-lexer-rustdoc-highlight, r=GuillaumeGomez
Use rustc_lexer for rustdoc syntax highlighting r? @ghost
2 parents 5c27700 + b4f4db9 commit ced37a5

File tree

7 files changed

+298
-414
lines changed

7 files changed

+298
-414
lines changed

Cargo.lock

+1
Original file line numberDiff line numberDiff line change
@@ -4109,6 +4109,7 @@ dependencies = [
41094109
name = "rustdoc"
41104110
version = "0.0.0"
41114111
dependencies = [
4112+
"expect-test",
41124113
"itertools 0.8.2",
41134114
"minifier",
41144115
"pulldown-cmark",

src/librustdoc/Cargo.toml

+3
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,6 @@ serde_json = "1.0"
1717
smallvec = "1.0"
1818
tempfile = "3"
1919
itertools = "0.8"
20+
21+
[dev-dependencies]
22+
expect-test = "0.1"

0 commit comments

Comments
 (0)