Tracking Issue for slice_swap_unchecked (original) (raw)
Feature gate: #![feature(slice_swap_unchecked)]
This is a tracking issue for slice::swap_unchecked, an unsafe version of slice::swap that does not do bounds checking.
Public API
impl [T] { pub const unsafe fn swap_unchecked(&mut self, a: usize, b: usize); }
Steps / History
- Implementation: add slice::swap_unchecked #88540
- Revert implementation of
slice::swap: Revert implementation of slice::swap #94342. - Final comment period (FCP)
- Stabilization PR
Unresolved Questions
- None yet.