rust-itertools / itertools

Extra iterator adaptors, iterator methods, free functions, and macros.
https://docs.rs/itertools/
Apache License 2.0
2.64k stars 299 forks source link

`set_from`: use `zip` #888

Closed Philippe-Cholet closed 5 months ago

Philippe-Cholet commented 5 months ago

Use try_fold instead of a "breakable for-loop" as we usually do.

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 94.53%. Comparing base (6814180) to head (37d47f6). Report is 28 commits behind head on master.

:exclamation: Current head 37d47f6 differs from pull request most recent head d8bd65b. Consider uploading reports for the commit d8bd65b to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #888 +/- ## ========================================== + Coverage 94.38% 94.53% +0.14% ========================================== Files 48 48 Lines 6665 6750 +85 ========================================== + Hits 6291 6381 +90 + Misses 374 369 -5 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.