-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Added Clone
implementation for ChunkBy
#138016
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
base: master
Are you sure you want to change the base?
Added Clone
implementation for ChunkBy
#138016
Conversation
r? @Noratrieb rustbot has assigned @Noratrieb. Use |
library/core/src/slice/iter.rs
Outdated
@@ -3372,6 +3372,13 @@ where | |||
#[stable(feature = "slice_group_by", since = "1.77.0")] | |||
impl<'a, T: 'a, P> FusedIterator for ChunkBy<'a, T, P> where P: FnMut(&T, &T) -> bool {} | |||
|
|||
#[stable(feature = "slice_group_by", since = "1.77.0")] |
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.
You'll need a new feature name with the version CURRENT_RUSTC_VERSION
in since
.
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.
@thaliaarchi i think i got it 🤞 , bear with me if i made a newbie mistake
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.
Well it looks good to me! I’m not in a Rust team, so my approval doesn’t mean anything, but you should hear back from someone within two weeks.
should get a t-libs-api reviewer r? libs-api |
cc:
No mention of |
☔ The latest upstream changes (presumably #138208) made this pull request unmergeable. Please resolve the merge conflicts. |
This comment has been minimized.
This comment has been minimized.
d71ca93
to
e48617f
Compare
@rfcbot merge |
Team member @m-ou-se has proposed to merge this. The next step is review by the rest of the tagged team members: No concerns currently listed. Once a majority of reviewers approve (and at most 2 approvals are outstanding), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up! See this document for info about what commands tagged team members can give me. |
Just to make sure that the relevant issue is tracked/closed once this is fully merged & done: this PR fixes #137969 |
Added
Clone
implementation forChunkBy