pub fn doc_fence_len(doc: &str) -> usizeExpand description
#1885: the dash count of the fence a doc block holding doc is printed
with: one more than the longest marker-shaped line in it (a line of three
or more dashes alone, surrounding whitespace aside), and never fewer than
three. A shorter fence would close at that line.