Open
Description
Feature gate: #![feature(const_slice_rotate)]
This is a tracking issue for using <[T]>::rotate_left
and <[T]>::rotate_right
in const.
Public API
impl<T> [T] {
pub const fn rotate_left(&mut self, mid: usize);
pub const fn rotate_right(&mut self, k: usize);
}
Steps / History
(Remember to update the S-tracking-*
label when checking boxes.)
- Implementation: slice: Mark
rotate_left
,rotate_right
unstably const #143554 - Final comment period (FCP)1
- Stabilization PR
Unresolved Questions
- None yet.