Tracking Issue for box_uninit_write
· Issue #129397 · rust-lang/rust (original) (raw)
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, A> { pub fn write(mut boxed: Self, value: T) -> Box<T, A>; }
Steps / History
- Implement write() method for Box<MaybeUninit> #88906
- Final comment period (FCP)1
- Stabilization PR
Unresolved Questions
- idk lol