-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Closed
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.disposition-mergeThis issue / PR is in PFCP or FCP with a disposition to merge it.This issue / PR is in PFCP or FCP with a disposition to merge it.finished-final-comment-periodThe final comment period is finished for this PR / Issue.The final comment period is finished for this PR / Issue.
Description
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
// core::cell
impl<T: ?Sized> UnsafeCell<T> {
pub fn from_mut(&mut T) -> &mut Self;
}
Steps / History
- ACP: Add a conversion from
&mut T
to&mut UnsafeCell<T>
libs-team#198 - Implementation: Add a conversion from
&mut T
to&mut UnsafeCell<T>
#111654 - Final comment period (FCP)1
- Stabilization PR
Unresolved Questions
- None yet.
Footnotes
SOF3, kornelski, js2xxx, DannyStoll1, Demiu and 2 more
Metadata
Metadata
Assignees
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.disposition-mergeThis issue / PR is in PFCP or FCP with a disposition to merge it.This issue / PR is in PFCP or FCP with a disposition to merge it.finished-final-comment-periodThe final comment period is finished for this PR / Issue.The final comment period is finished for this PR / Issue.