about summary refs log tree commit diff
path: root/library/alloc/src
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2025-02-17 09:35:47 -0800
committerJosh Stone <jistone@redhat.com>2025-02-18 08:50:21 -0800
commitfdba8a7c47398e8bd99cb22ede199bf9a0167eaf (patch)
tree624e76dcdce4d56521089c6f5bece1bbfb9c15d2 /library/alloc/src
parent3b022d8ceea570db9730be34d964f0cc663a567f (diff)
downloadrust-fdba8a7c47398e8bd99cb22ede199bf9a0167eaf.tar.gz
rust-fdba8a7c47398e8bd99cb22ede199bf9a0167eaf.zip
update version placeholders
(cherry picked from commit e4840ce59bdddb19394df008c5c26d9c493725f8)
Diffstat (limited to 'library/alloc/src')
-rw-r--r--library/alloc/src/slice.rs2
-rw-r--r--library/alloc/src/vec/mod.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/library/alloc/src/slice.rs b/library/alloc/src/slice.rs
index c83b1962eb6..dcd95ddf00f 100644
--- a/library/alloc/src/slice.rs
+++ b/library/alloc/src/slice.rs
@@ -27,7 +27,7 @@ pub use core::slice::ArrayChunksMut;
 pub use core::slice::ArrayWindows;
 #[stable(feature = "inherent_ascii_escape", since = "1.60.0")]
 pub use core::slice::EscapeAscii;
-#[stable(feature = "get_many_mut", since = "CURRENT_RUSTC_VERSION")]
+#[stable(feature = "get_many_mut", since = "1.86.0")]
 pub use core::slice::GetDisjointMutError;
 #[stable(feature = "slice_get_slice", since = "1.28.0")]
 pub use core::slice::SliceIndex;
diff --git a/library/alloc/src/vec/mod.rs b/library/alloc/src/vec/mod.rs
index 7d02a15ed7a..a84bb724473 100644
--- a/library/alloc/src/vec/mod.rs
+++ b/library/alloc/src/vec/mod.rs
@@ -2526,7 +2526,7 @@ impl<T, A: Allocator> Vec<T, A> {
     /// assert_eq!(vec, [1, 2, 3]);
     /// assert_eq!(vec.pop_if(pred), None);
     /// ```
-    #[stable(feature = "vec_pop_if", since = "CURRENT_RUSTC_VERSION")]
+    #[stable(feature = "vec_pop_if", since = "1.86.0")]
     pub fn pop_if(&mut self, predicate: impl FnOnce(&mut T) -> bool) -> Option<T> {
         let last = self.last_mut()?;
         if predicate(last) { self.pop() } else { None }