pub fn ordered<S>(matches: impl IntoIterator<Item = S>) -> Self
    where
        S: Into<Cow<'a, str>>,
    {
        Self::Ordered(
            matches
                .into_iter()
                .map(|m| Match::Include(m.into()))
                .collect_vec(),
        )
    }
/// Checks that each matcher is present in output, in order
Checks that each matcher is present in output, in order
Checks that each matcher is present in output in order
pub fn ordered<S>(matches: impl IntoIterator<Item = S>) -> Self
    where
        S: Into<Cow<'a, str>>,
    {
        Self::Ordered(
            matches
                .into_iter()
                .map(|m| Match::Include(m.into()))
                .collect_vec(),
        )
    }
pub fn ordered < S > ( matches : impl IntoIterator < Item = S > ) -> Self where S : Into < Cow < ' a , str > > , { Self :: Ordered ( matches . into_iter ( ) . map ( | m | Match :: Include ( m . into ( ) ) ) . collect_vec ( ) , ) }
Checks that each matcher is present in output, in order
Checks that each matcher is present in output in order
matches
impl IntoIterator<Item = S>
matches
impl IntoIterator<Item = S>