Feature gate: `#![feature(const_swap_with_slice)]` This is a tracking issue for `<[T]>::swap_with_slice` in const. ### Public API ```rust impl<T> [T] { pub const fn swap_with_slice(&mut self, other: &mut [T]); } ``` ### Steps / History - [x] Implementation: #142205 - [ ] Final comment period (FCP)[^1] - [ ] Stabilization PR ### Unresolved Questions <!-- Include any open questions that need to be answered before the feature can be stabilised. If multiple (unrelated) big questions come up, it can be a good idea to open a separate issue for each, to make it easier to keep track of the discussions. It's useful to link any relevant discussions and conclusions (whether on GitHub, Zulip, or the internals forum) here. --> - None yet. [^1]: https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html
Feature gate:
#![feature(const_swap_with_slice)]This is a tracking issue for
<[T]>::swap_with_slicein const.Public API
Steps / History
slice::swap_with_sliceunstably const #142205Unresolved Questions
Footnotes
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩