From 4ab14c27a05417d030002a1d58bfa7db15949e09 Mon Sep 17 00:00:00 2001 From: Casper Meijn Date: Wed, 4 Sep 2024 13:02:24 +0200 Subject: [PATCH] build(deps): update pulldown-cmark to 0.12 and pulldown-cmark-to-cmark to 16 (#1144) --- prost-build/Cargo.toml | 4 ++-- prost-build/src/ast.rs | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/prost-build/Cargo.toml b/prost-build/Cargo.toml index 08331b5ef..d53eb80c4 100644 --- a/prost-build/Cargo.toml +++ b/prost-build/Cargo.toml @@ -32,8 +32,8 @@ prettyplease = { version = "0.2", optional = true } syn = { version = "2", features = ["full"], optional = true } # These two must be kept in sync, used for `cleanup-markdown` feature. -pulldown-cmark = { version = "0.9.1", optional = true, default-features = false } -pulldown-cmark-to-cmark = { version = "10.0.1", optional = true } +pulldown-cmark = { version = "0.12", optional = true, default-features = false } +pulldown-cmark-to-cmark = { version = "16", optional = true } [dev-dependencies] env_logger = { version = "0.11", default-features = false } diff --git a/prost-build/src/ast.rs b/prost-build/src/ast.rs index 9a6a0de99..4a91f50c6 100644 --- a/prost-build/src/ast.rs +++ b/prost-build/src/ast.rs @@ -203,9 +203,6 @@ where Event::Start(Tag::CodeBlock(kind)) => { Event::Start(Tag::CodeBlock(map_codeblock(kind))) } - Event::End(Tag::CodeBlock(kind)) => { - Event::End(Tag::CodeBlock(map_codeblock(kind))) - } e => e, } },