Function try_collect_vec
pub fn try_collect_vec<I, T>(iter: I) -> Result<Vec<T>, TryReserveError>where
I: Iterator<Item = T>,Expand description
Tries to collect the elements of an iterator into a Vec.
pub fn try_collect_vec<I, T>(iter: I) -> Result<Vec<T>, TryReserveError>where
I: Iterator<Item = T>,Tries to collect the elements of an iterator into a Vec.