Function grrs_lazy::find_matches
source · pub fn find_matches<'a>(
lines: impl Iterator<Item = String> + 'a,
pattern: &'a str
) -> impl Iterator<Item = String> + 'a
Expand description
Given an iterator on strings and a pattern string to search, returns an iterator of all the strings which contain the pattern.