Description
Feature gate: #![feature(box_uninit_write)]
Split-out from #63291 as a result of stabilizing most of its API! It's a way to write to the MaybeUninit on the Box and thus initialize it!
Public API
impl<T, A> Box<MaybeUninit<T>, A> {
pub fn write(mut boxed: Self, value: T) -> Box<T, A>;
}
Steps / History
- Implement write() method for Box<MaybeUninit<T>> #88906
- Final comment period (FCP)1
- Stabilization PR
Unresolved Questions
- idk lol
Footnotes
Metadata
Metadata
Assignees
Labels
Area: Our favorite opsem complicationCategory: An issue tracking the progress of sth. like the implementation of an RFCRelevant to the library API team, which will review and decide on the PR/issue.This issue / PR is in PFCP or FCP with a disposition to merge it.The final comment period is finished for this PR / Issue.Announce this issue on triage meeting