pub fn excludes<S>(matches: impl IntoIterator<Item = S>) -> Self
    where
        S: Into<Cow<'a, str>>,
    {
        Self::Unordered(
            matches
                .into_iter()
                .map(|m| Match::Exclude(m.into()))
                .collect_vec(),
        )
    }
/// Checks that none of the matchers are present in output
Checks that none of the matchers are present in output
Checks that none of the matchers are present in output
pub fn excludes<S>(matches: impl IntoIterator<Item = S>) -> Self
    where
        S: Into<Cow<'a, str>>,
    {
        Self::Unordered(
            matches
                .into_iter()
                .map(|m| Match::Exclude(m.into()))
                .collect_vec(),
        )
    }
pub fn excludes < S > ( matches : impl IntoIterator < Item = S > ) -> Self where S : Into < Cow < ' a , str > > , { Self :: Unordered ( matches . into_iter ( ) . map ( | m | Match :: Exclude ( m . into ( ) ) ) . collect_vec ( ) , ) }
Checks that none of the matchers are present in output
Checks that none of the matchers are present in output
matches
impl IntoIterator<Item = S>
matches
impl IntoIterator<Item = S>