-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
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 RFCS-tracking-unimplementedStatus: The feature has not been implemented.Status: The feature has not been implemented.T-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(vec_into_chunks)]
This is a tracking issue for Vec::into_chunks
. The ACP is in rust-lang/libs-team#583.
This converts Vec<T>
into Vec<[T; N]>
, reversing Vec::into_flattened
.
Public API
// alloc::vec
impl<T, A: Allocator> Vec<T, A> {
pub fn into_chunks<const N: usize>(mut self) -> Vec<[T; N], A>;
}
Steps / History
(Remember to update the S-tracking-*
label when checking boxes.)
- Implementation: Add
Vec::into_chunks
#142138 - Final comment period (FCP)1
- Stabilization PR
Unresolved Questions
- None yet.
Footnotes
Scripter17
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 RFCS-tracking-unimplementedStatus: The feature has not been implemented.Status: The feature has not been implemented.T-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.