Function last

Source
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.