4 ms·
Also, let res = iterator.iter().map(|x| x.foo()).collect::<Result<Vec<_>, _>>()?;
by mcronce 3y ago
Also,
let res = iterator.iter().map(|x| x.foo()).collect::<Result<Vec<_>, _>>()?;
- fnordpiglet 3y agoI love rust because it satisfies my inner perl
- tmtvl 3y agoAnd people complain about ))) in Lisp...