about summary refs log tree commit diff
path: root/library/alloc/src/vec/mod.rs
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/vec/mod.rs
parent3b022d8ceea570db9730be34d964f0cc663a567f (diff)
downloadrust-fdba8a7c47398e8bd99cb22ede199bf9a0167eaf.tar.gz
rust-fdba8a7c47398e8bd99cb22ede199bf9a0167eaf.zip
update version placeholders
(cherry picked from commit e4840ce59bdddb19394df008c5c26d9c493725f8)
Diffstat (limited to 'library/alloc/src/vec/mod.rs')
-rw-r--r--library/alloc/src/vec/mod.rs2
1 files changed, 1 insertions, 1 deletions
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 }