pub(super) fn fallible_map_vec<T, U, E>( vec: Vec<T>, map: impl FnMut(T) -> Result<U, E>) -> Result<Vec<U>, E>
Maps a Vec<T> to a Vec<U>, reusing the underlying storage if possible.
Vec<T>
Vec<U>