Function take2

Source
pub fn take2<I, T>(x: &mut I) -> Option<(T, T)>
where I: Iterator<Item = T>,