Fix warnings apparent as of Rust 1.90#1062
Merged
phimuemue merged 2 commits intorust-itertools:masterfrom Sep 25, 2025
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1062 +/- ##
==========================================
- Coverage 94.38% 94.17% -0.21%
==========================================
Files 48 50 +2
Lines 6665 6254 -411
==========================================
- Hits 6291 5890 -401
+ Misses 374 364 -10 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
scottmcm
approved these changes
Sep 25, 2025
|
|
||
| /// Create a new `TakeWhileRef` from a reference to clonable iterator. | ||
| pub fn take_while_ref<I, F>(iter: &mut I, f: F) -> TakeWhileRef<I, F> | ||
| pub fn take_while_ref<I, F>(iter: &mut I, f: F) -> TakeWhileRef<'_, I, F> |
Contributor
There was a problem hiding this comment.
Oh, nice, I'm a big fan of these '_s-in-return-types.
jswrenn
approved these changes
Sep 25, 2025
Merged
via the queue into
rust-itertools:master
with commit Sep 25, 2025
0e463eb
13 of 14 checks passed
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I compiled with
cargo check -j8 --all-targetsand fixed the warnings popping up.