AgreeableLandscape@lemmy.mlM to Rust Programming@lemmy.ml · 3 years ago"Rust needs evert(), which turns an iterator over Result of T into a Result of a collection of T or a collection of errors" Thoughts on this?cybre.spaceexternal-linkmessage-square7fedilinkarrow-up112arrow-down11
arrow-up111arrow-down1external-link"Rust needs evert(), which turns an iterator over Result of T into a Result of a collection of T or a collection of errors" Thoughts on this?cybre.spaceAgreeableLandscape@lemmy.mlM to Rust Programming@lemmy.ml · 3 years agomessage-square7fedilink
minus-squareMad@sopuli.xyzlinkfedilinkarrow-up0·3 years agodo you mean Vec<Result<T, Error>>? why would an error type be the second type argument for a Vec?
do you mean
Vec<Result<T, Error>>
? why would an error type be the second type argument for aVec
?