pub(super) fn fallible_map_vec<T, U, E>(
    vec: Vec<T>,
    map: impl FnMut(T) -> Result<U, E>
) -> Result<Vec<U>, E>
Expand description

Maps a Vec<T> to a Vec<U>, reusing the underlying storage if possible.