pub fn intersect<T, L, R>(a: L, b: R) -> impl Iterator<Item = T>
Expand description
Returns an iterator of the items in common between a
and b
.
Both iterators must be sorted. The returned iterator is also sorted.
pub fn intersect<T, L, R>(a: L, b: R) -> impl Iterator<Item = T>
Returns an iterator of the items in common between a
and b
.
Both iterators must be sorted. The returned iterator is also sorted.