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-squareAode (He/They)@lemmy.mllinkfedilinkarrow-up2·3 years agoplayground link: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=39a1c5c855a4c3d5d537f446c3b72783
playground link: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=39a1c5c855a4c3d5d537f446c3b72783