-
Notifications
You must be signed in to change notification settings - Fork 13k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stabilize const_slice_flatten #134995
base: master
Are you sure you want to change the base?
Stabilize const_slice_flatten #134995
Conversation
Const-stabilizes `slice::as_flattened{,_mut}`: ```rust // core::slice impl<T, const N: usize> [[T; N]] { pub const fn as_flattened(&self) -> &[T]; pub const fn as_flattened_mut(&mut self) -> &mut [T]; } ``` Tracking issue: rust-lang#95629 Requires separate libs-api FCP, as per rust-lang#95629 (comment). Closes rust-lang#95629.
@rustbot label -T-libs +needs-fcp |
r? libs-api |
Team member @Amanieu has proposed to merge this. The next step is review by the rest of the tagged team members: No concerns currently listed. Once a majority of reviewers approve (and at most 2 approvals are outstanding), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up! See this document for info about what commands tagged team members can give me. |
Const-stabilizes
slice::as_flattened{,_mut}
:Tracking issue: #95629
Requires separate FCP, as per #95629 (comment).
Closes #95629.
@rustbot modify labels: +T-libs-api
Happy new year!