pub fn parse_references(s: &str, refmap: &mut RefMap) -> usizeExpand description
Section 4.7 over a whole paragraph: every link reference definition
at the start of s, in order, each added to refmap. Returns the
number of BYTES they take up together.
One parser over one copy of s, advancing through it. Copying the
remaining tail once per definition, as the per-definition entry
point does, made a paragraph of n short definitions cost O(n^2).