Function subslice::find[][src]

pub fn find<A: Ord>(text: &[A], pattern: &[A]) -> Option<usize>

find_bytes finds the first ocurrence of pattern in the text.