Support lists and stylings in more places for rustc --explain by Alexendoo · Pull Request #126994 · rust-lang/rust (original) (raw)

_ if let Some(strong @ (b"**" | b"__")) = loop_buf.get(..2) => {

parse_simple_pat(loop_buf, strong, strong, Po::None, MdTree::Strong)

}

(_, Newline | Whitespace) if loop_buf.starts_with(STG) => {

parse_simple_pat(loop_buf, STG, STG, Po::None, MdTree::Strong)

_ if let Some(emph @ (b"*" | b"_")) = loop_buf.get(..1) => {

parse_simple_pat(loop_buf, emph, emph, Po::None, MdTree::Emphasis)

}

(_, Newline | Whitespace) if loop_buf.starts_with(STK) => {

_ if loop_buf.starts_with(STK) => {

parse_simple_pat(loop_buf, STK, STK, Po::None, MdTree::Strikethrough)

}

(_, Newline | Whitespace) if loop_buf.starts_with(ANC_S) => {

_ if loop_buf.starts_with(ANC_S) => {