[][src]Function gr3x::find_matches

pub fn find_matches<'a>(
    lines: impl Iterator<Item = String> + 'a,
    pattern: &'a str
) -> impl Iterator<Item = String> + 'a

Given an iterator on strings and a pattern string to search, returns an iterator of all the strings which contain the pattern.