-
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 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.
Description
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> [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 ofslice::swap
#94342. - Final comment period (FCP)
- Stabilization PR
Unresolved Questions
- None yet.
Anders429, Sol-Ell, joseluis and ZaneErebosbjoernager
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 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.