-
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 get_many_mut
as get_disjoint_mut
#134633
base: master
Are you sure you want to change the base?
Conversation
Should I add |
I'm not sure about using |
fe5c6ee
to
1fd41a9
Compare
Reverted the feature flag rename. |
#[inline] | ||
pub unsafe fn get_many_unchecked_mut<I, const N: usize>( | ||
pub unsafe fn get_disjoint_unchecked_mut<I, const N: usize>( |
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.
I wonder if this might be better as get_unchecked_disjoint_mut
? But I'm not on the API team and wasn't present to know if they discussed this.
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.
#136152 did get_disjoint_unchecked_mut
for HashMap
, so I think we'll have to mirror that here.
1fd41a9
to
08de2cd
Compare
☔ The latest upstream changes (presumably #135937) made this pull request unmergeable. Please resolve the merge conflicts. |
* Renames the methods: * `get_many_mut` -> `get_disjoint_mut` * `get_many_unchecked_mut` -> `get_disjoint_unchecked_mut` * Does not rename the feature flag: `get_many_mut` * Marks the feature as stable * Renames some helper stuff: * `GetManyMutError` -> `GetDisjointMutError` * `GetManyMutIndex` -> `GetDisjointMutIndex` * `get_many_mut_helpers` -> `get_disjoint_mut_helpers` * `get_many_check_valid` -> `get_disjoint_check_valid` This only touches slice methods. HashMap's methods and feature gates are not renamed here (nor are they stabilized).
08de2cd
to
1abc853
Compare
r? t-libs |
This comment was marked as outdated.
This comment was marked as outdated.
r? libs-api |
Tracking issue: #104642
Closes #104642
FCP completed in #104642 (comment)