keep_greatest

Function keep_greatest 

Source
fn keep_greatest<T: PartialOrd, E>(
    accumulator: Option<Result<T, E>>,
    item: Result<T, E>,
) -> Option<Result<T, E>>