zed/crates/rustdoc_to_markdown
Marshall Bowers bdf627ce07
rustdoc_to_markdown: Fix code blocks (#12460)
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
2024-05-29 19:23:06 -04:00
..
examples assistant: Add /rustdoc slash command (#12453) 2024-05-29 18:14:29 -04:00
src rustdoc_to_markdown: Fix code blocks (#12460) 2024-05-29 19:23:06 -04:00
Cargo.toml rustdoc_to_markdown: Fix code blocks (#12460) 2024-05-29 19:23:06 -04:00
LICENSE-GPL Add rustdoc_to_markdown crate (#12445) 2024-05-29 16:05:16 -04:00