Skip to main content

vec_zip

Function vec_zip 

Source
pub fn vec_zip<A: Clone, B: Clone>(a: &[A], b: &[B]) -> Vec<(A, B)>
Expand description

Zip two vectors into a vector of pairs (up to the shorter length).