From 150df7e9dff552b248b229b23730b7d57710c2bd Mon Sep 17 00:00:00 2001 From: Anshul Garg Date: Thu, 30 Apr 2026 19:35:05 +0530 Subject: [PATCH] Fix typo in markdown_parser doc comment (#9341) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Description Fixes a typo in the `process_emphasis` doc comment in `crates/markdown_parser/src/markdown_parser.rs`: `performace` → `performance`. ## Testing Doc-comment-only change. Co-authored-by: anshul-garg27 --- crates/markdown_parser/src/markdown_parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/markdown_parser/src/markdown_parser.rs b/crates/markdown_parser/src/markdown_parser.rs index e8677bd2c..e5e2b5c8e 100644 --- a/crates/markdown_parser/src/markdown_parser.rs +++ b/crates/markdown_parser/src/markdown_parser.rs @@ -1315,7 +1315,7 @@ fn parse_underline<'a>(state: &mut InlineState, remaining: &'a str) -> &'a str { /// /// This is approximately equivalent to the CommonMark [process emphasis](https://spec.commonmark.org/0.30/#phase-2-inline-structure) /// algorithm. However: -/// * It omits `openers_bottom`, which is purely a performace optimization. +/// * It omits `openers_bottom`, which is purely a performance optimization. /// * It uses a `Vec` rather than a linked list, which changes the structure a bit to work with lifetimes. /// * It also parses [GFM strikethrough](https://github.github.com/gfm/#strikethrough-extension-). fn process_emphasis(state: &mut InlineState, stack_bottom: Option) {