Function elipdotter::set::intersect

source ·
pub fn intersect<T, L, R>(a: L, b: R) -> impl Iterator<Item = T>where
    T: Ord,
    L: IntoIterator<Item = T>,
    R: IntoIterator<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.