pub fn contains_any<Needles>(haystack: &str, needles: Needles) -> boolExpand description
Reports whether haystack contains any of the non-empty needles.
An empty needle is skipped rather than matching every haystack, so an empty list or a list of empty strings matches nothing.