-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Stablize Iterator::find_map #53385
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
Stablize Iterator::find_map #53385
Conversation
This comment has been minimized.
This comment has been minimized.
3f6a776
to
c6a93aa
Compare
This PR is blocked by the FCP happening on the tracking issue which will complete in 8 days. |
src/libcore/iter/iterator.rs
Outdated
#[unstable(feature = "iterator_find_map", | ||
reason = "unstable new API", | ||
issue = "49602")] | ||
#[stable(feature = "iterator_find_map", since = "1.30")] |
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.
1.30.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.
Lol, I specifically looked at flatten
for the since format, and it dropped the trailing zero. Should i change
#[stable(feature = "iterator_flatten", since = "1.29")]
fn flatten(self) -> Flatten<Self>
where Self: Sized, Self::Item: IntoIterator {
to
#[stable(feature = "iterator_flatten", since = "1.29.0")]
fn flatten(self) -> Flatten<Self>
where Self: Sized, Self::Item: IntoIterator {
in this PR?
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.
@matklad As you like 😂. Perhaps we need a tidy check to ensure the since
is a valid semver.
c6a93aa
to
70a2b79
Compare
The job Click to expand the log.
I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
70a2b79
to
057878a
Compare
Ok, looks like one does not simply change the |
@matklad if you wanna change to 1.29.0, it needs to be applied all instances of |
Alrighty, the FCP is now completed so we can start moving this forward. |
This is ready for r+, yeah! The version number problem for flatten has beenhandled in a separate PR. |
@bors r+ |
📌 Commit 057878a has been approved by |
Stablize Iterator::find_map Stabilization PR for #49602
@bors rollup |
☀️ Test successful - status-appveyor, status-travis |
Stabilization PR for #49602