Function rustc_errors::markdown::parse::parse_any_link
source · fn parse_any_link(
buf: &[u8],
can_be_def: bool
) -> Option<(MdTree<'_>, &'_ [u8])>
Expand description
Parse links. can_be_def
indicates that a link definition is possible (top
level, located at the start of a line)