Skip to main content

first_hit

Function first_hit 

Source
fn first_hit(folded: &[char], phrases: &[String]) -> Option<(usize, usize)>
Expand description

The earliest of the phrases in the text, as (start, end) positions.