-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Draft: Make into_parts methods on Vec associated functions #141509
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?
Conversation
r? @ibraheemdev rustbot has assigned @ibraheemdev. Use |
r? libs-api |
This PR is basically just to link to these patches from #65816 (comment). This will need to be rebased after #141219 is merged, and it might not be needed at all if open questions are resolved the other way in the main issue. The proper place for FCP is probably also the tracking issue, although I’m not that familiar with the process. |
This hopefully helps to catch cases where these arguments are accidentally swapped.
This is more consistent with `Box::into_raw()` and clears out potential confusion about whether the method acts on a vector or on a slice.
2bb1d8e
to
efdd43d
Compare
We discussed this in the @rust-lang/libs-api meeting. We felt that the main argument against making these associated function is that unlike @rfcbot close |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
@rfcbot close |
Team member @Amanieu has proposed to close 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. |
🔔 This is now entering its final comment period, as per the review above. 🔔 |
☔ The latest upstream changes (presumably #143338) made this pull request unmergeable. Please resolve the merge conflicts. |
(doesn’t need review for now, posted to accompany stabilization report)