Skip to content

Conversation

Philippe-Cholet
Copy link
Member

Fixes #313

Discard the value sure is the main usage but I don't see a non-tricky usage of this so I'm not sure if we should do this, feel free to close this.

Because it does not return () anymore, some changes can be necessary to ignore the returned value like here in "tests/quick.rs".

Because it does not return `()` anymore, some changes can be necessary to ignore the returned value like here in "tests/quick.rs".
Copy link

codecov bot commented Feb 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (6814180) 94.38% compared to head (fd511fe) 94.15%.
Report is 11 commits behind head on master.

Additional details and impacted files
@@ Coverage Diff @@ ## master #880 +/- ## ========================================== - Coverage 94.38% 94.15% -0.24%  ========================================== Files 48 48 Lines 6665 6672 +7 ========================================== - Hits 6291 6282 -9  - Misses 374 390 +16 

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@phimuemue phimuemue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In favor of this. More flexible API.

@jswrenn jswrenn added this to the next milestone Feb 19, 2024
@jswrenn jswrenn added this pull request to the merge queue Feb 19, 2024
Merged via the queue into rust-itertools:master with commit b54c4c3 Feb 19, 2024
@Philippe-Cholet Philippe-Cholet deleted the putback-put_back branch February 19, 2024 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

3 participants