petgraph 0.4.5

Graph data structure library. Provides graph types and graph algorithms.
Documentation

use std::iter::Zip;

/// intoiterator .zip()
pub fn zip<I, J>(i: I, j: J) -> Zip<I::IntoIter, J::IntoIter>
    where I: IntoIterator,
          J: IntoIterator
{
    i.into_iter().zip(j)
}