Tracking Issue for const_swap_with_slice (original) (raw)

Skip to content

Sign in

Appearance settings

View all features

View all solutions

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Sign in

Sign up

Appearance settings

rust-lang / rust Public

Additional navigation options

New issue

New issue

Open

Open

Tracking Issue for const_swap_with_slice

#142204

Labels

C-tracking-issueCategory: 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.

@paolobarbolini

Description

@paolobarbolini

paolobarbolini

opened

on Jun 8, 2025

Feature gate: #![feature(const_swap_with_slice)]

This is a tracking issue for <[T]>::swap_with_slice in const.

Public API

impl [T] { pub const fn swap_with_slice(&mut self, other: &mut [T]); }

Steps / History

Unresolved Questions

Footnotes

  1. https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html

Metadata

Metadata

Assignees

No one assigned

Labels

C-tracking-issueCategory: 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.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions