-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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.
Description
Feature gate: #![feature(maybe_uninit_array_assume_init)]
This is a tracking issue for MaybeUninit::array_assume_init
.
Public API
// core::mem::maybe_uninit
impl<T> MaybeUninit<T> {
pub unsafe fn array_assume_init<const N: usize>(array: [Self; N]) -> [T; N];
}
Steps / History
- Implementation: Add
MaybeUninit
methodarray_assume_init
#80600 - Final commenting period (FCP)
- Stabilization PR
Unresolved Questions
- Should this be a const function?
- Should this be a method of array?
- Should this method be replaced by a conversion method from
[MaybeUninit<T>; N]
toMaybeUninit<[T; N]>
(see comment).
cole-miller, yvt, Nokel81, csnover, AndreySmirnov81 and 5 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.