repeat_last

Function repeat_last 

Source
pub fn repeat_last<T>(
    iter: Box<dyn Iterator<Item = Result<T, Error>>>,
    default_item: T,
) -> Box<dyn Iterator<Item = Result<T, Error>>>
where T: Clone + 'static,