-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
Stabilize slice_partition_at_index #77639
Stabilize slice_partition_at_index #77639
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @Amanieu (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
Waiting on FCP from #55300 (comment) to finish; expected 2020-10-09. |
abe0d3c
to
df98879
Compare
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.
CI seems to be failing.
/// | ||
/// This function has been obsoleted by [`select_nth_unstable`], and will be removed in | ||
/// a later release. | ||
#[unstable(feature = "slice_partition_at_index", issue = "55300")] |
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.
Could you mark these as deprecated with a suggestion to use select_nth_unstable
instead?
This stabilizes the functionality in slice_partition_at_index, but under the names `select_nth_unstable*`. The functions `partition_at_index*` are left as deprecated, to be removed in a later release. Closes rust-lang#55300
df98879
to
01ac5a9
Compare
I marked them as deprecated from version 1.49.0, which is the same as the new functions land. Tell me if there’s a better way! |
Thanks! @bors r+ |
📌 Commit 01ac5a9 has been approved by |
…_index, r=Amanieu Stabilize slice_partition_at_index This stabilizes slice_partition_at_index, including renaming `partition_at_index*` -> `select_nth_unstable*`. Closes rust-lang#55300 r? @Amanieu
☀️ Test successful - checks-actions, checks-azure |
Your PR failed (pretty log, raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem. 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 |
This stabilizes slice_partition_at_index, including renaming
partition_at_index*
->select_nth_unstable*
.Closes #55300
r? @Amanieu