rustc_errors::markdown::parse

Function parse_codeblock

source
fn parse_codeblock(buf: &[u8]) -> (MdTree<'_>, &'_ [u8])
Expand description

Parse a codeblock. Accounts for >3 backticks and language specification