-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Tracking Issue for split_array #90091
Copy link
Copy link
Open
Labels
A-arrayArea: `[T; N]`Area: `[T; N]`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.
Metadata
Metadata
Assignees
Labels
A-arrayArea: `[T; N]`Area: `[T; N]`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.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Feature gate:
#![feature(split_array)]This is a tracking issue for splitting slices and arrays into constant-length arrays.
Public API
Similar functions for slices have already been stabilized as:
See #111774
Unresolved Questions
[T; N - M], like so:However, const generics is not powerful enough for this today. See #83233 (comment) and #83233 (comment).