first_sub_vec_unique

Function first_sub_vec_unique 

Source
pub fn first_sub_vec_unique(haystack: &[u8], needle: &[u8]) -> Option<usize>
Expand description

Return the first matching position when it is unique, and None otherwise