pub fn quoted_end(
chars: impl Iterator<Item = (usize, char)>,
close: char,
mode: EscapeMode,
end: usize,
width: impl Fn(char) -> usize,
) -> (usize, QuotedRun)Expand description
Scan after an opening delimiter. Positions may be bytes or character indices; callers supply the corresponding width and end so validation stays allocation-free.