pub fn check_subset_preserve_order<T: Eq>(
sub_iter: impl Iterator<Item = T>,
full_iter: impl Iterator<Item = T>,
) -> bool
Expand description
Check whether the items in sub_iter
is a subset of the items in full_iter
, and meanwhile
preserve the order.