Function iterative_methods::last [−][src]
pub fn last<I, T>(it: I) -> Option<T> where
I: StreamingIterator<Item = T>,
T: Sized + Clone,
Expand description
Get the item before the first None, assuming any exist.
pub fn last<I, T>(it: I) -> Option<T> where
I: StreamingIterator<Item = T>,
T: Sized + Clone,
Get the item before the first None, assuming any exist.