rustc_errors::markdown::parse

Function ord_list_start

source
fn ord_list_start(buf: &[u8]) -> Option<(u16, usize)>
Expand description

Verify a valid ordered list start (e.g. 1.) and parse it. Returns the parsed number and offset of character after the dot.