-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Tracking Issue for UnsafeCell::from_mut
#111645
Comments
For a straightforward addition like this, what's an appropriate amount of time to wait before pushing for stabilization? |
This should also be added to |
Since |
@rust-lang/libs-api: |
Team member @dtolnay 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. |
🔔 This is now entering its final comment period, as per the review above. 🔔 |
The final comment period, with a disposition to merge, as per the review above, is now complete. As the automated representative of the governance process, I would like to thank the author for their work and everyone else who contributed. This will be merged soon. |
…r=m-ou-se Stabilize `UnsafeCell::from_mut` Closes rust-lang#111645. FCP: rust-lang#111645 (comment) Note that because `const_mut_refs` and `const_refs_to_cell` was stabilized, it's okay to const-stabilize this method as well.
Rollup merge of rust-lang#131261 - clarfonthey:unsafe-cell-from-mut, r=m-ou-se Stabilize `UnsafeCell::from_mut` Closes rust-lang#111645. FCP: rust-lang#111645 (comment) Note that because `const_mut_refs` and `const_refs_to_cell` was stabilized, it's okay to const-stabilize this method as well.
Feature gate:
#![feature(unsafe_cell_from_mut)]
This is a tracking issue for
UnsafeCell::from_mut
, which makes it possible to convert&mut T
to&mut UnsafeCell<T>
in safe code.Public API
Steps / History
&mut T
to&mut UnsafeCell<T>
libs-team#198&mut T
to&mut UnsafeCell<T>
#111654Unresolved Questions
Footnotes
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩
The text was updated successfully, but these errors were encountered: