Skip to main content

first_closer

Function first_closer 

Source
fn first_closer(chars: &[char], open: usize) -> Option<usize>
Expand description

The first index able to close a span opened at open: the same marker, with non-space before it, no word character after it, and no ability to open a span of its own - otherwise the two * of a pair of globs would close a span between them.