Add a `try_collect()` helper method to `Iterator` by a-lafrance · Pull Request #...
source link: https://github.com/rust-lang/rust/pull/94041
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Implement Iterator::try_collect()
as a helper around Iterator::collect()
as discussed here.
First time contributor so definitely open to any feedback about my implementation! Specifically wondering if I should open a tracking issue for the unstable feature I introduced.
As the main participant in the internals discussion: r? @scottmcm
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK