5 ms·
Unpacking some Rust ergonomics: getting a single Result from an iterator of them
- Sprocklem 3y agoThere is also ongoing work to add a `try_collect` method specifically for collecting into `Result`, etc. Hopefully, when this lands it will make this pattern more intuitive/obvious and eliminate some inconveniences in its use.