-
Notifications
You must be signed in to change notification settings - Fork 337
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
base: master
Are you sure you want to change the base?
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 6327 -338
==========================================
- Hits 6291 5932 -359
- 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?
No description provided.