mirror of
https://github.com/zed-industries/zed.git
synced 2024-09-19 18:41:56 +03:00
bdf627ce07
This PR fixes an issue in `rustdoc_to_markdown` with code blocks being trimmed incorrectly. We were erroneously popping from the current element stack even if we didn't push an element onto the stack. Added test coverage for this case as well, so we don't regress. Release Notes: - N/A
23 lines
391 B
TOML
23 lines
391 B
TOML
[package]
|
|
name = "rustdoc_to_markdown"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
publish = false
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
path = "src/rustdoc_to_markdown.rs"
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
html5ever.workspace = true
|
|
markup5ever_rcdom.workspace = true
|
|
regex.workspace = true
|
|
|
|
[dev-dependencies]
|
|
indoc.workspace = true
|
|
pretty_assertions.workspace = true
|