-
Notifications
You must be signed in to change notification settings - Fork 341
feat: impl PeekingNext for std::collections::* #1073
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: impl PeekingNext for std::collections::* #1073
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1073 +/- ##
==========================================
- Coverage 94.38% 93.75% -0.64%
==========================================
Files 48 50 +2
Lines 6665 6326 -339
==========================================
- Hits 6291 5931 -360
- Misses 374 395 +21 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Hashmap is only available under |
src/peeking_take_while.rs
Outdated
| peeking_next_by_clone! { ['a, T] alloc::collections::linked_list::Iter<'a, T> } | ||
| #[cfg(feature = "use_alloc")] | ||
| peeking_next_by_clone! { ['a, T] alloc::collections::vec_deque::Iter<'a, T> } | ||
| const _: () = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please replace then const _ with repeated gates.
If we start adopting this pattern, we should do it consistently and not arbitrarily only here.
phimuemue
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you fix CI and squash the commits?
8c7e761 to
556ed1a
Compare
|
Hi @aatifsyed, I'm unsure. If you want to fix these, I'd happily merge it. |
|
The semver checks failure seems spurious. |
df58323 to
a03c199
Compare
|
squashed :) |
phimuemue
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, nicely done.
3f99dc6
No description provided.