update version placeholders

This commit is contained in:
Pietro Albini
2025-01-06 20:28:08 +01:00
parent 6afee111c2
commit 4ae92b7adb
27 changed files with 86 additions and 86 deletions

View File

@@ -913,7 +913,7 @@ impl<T> [T] {
/// assert!(v == ["a", "b", "e", "d", "c"]);
/// ```
#[stable(feature = "rust1", since = "1.0.0")]
#[rustc_const_stable(feature = "const_swap", since = "CURRENT_RUSTC_VERSION")]
#[rustc_const_stable(feature = "const_swap", since = "1.85.0")]
#[inline]
#[track_caller]
pub const fn swap(&mut self, a: usize, b: usize) {