about summary refs log tree commit diff
path: root/library/alloc/src/collections/vec_deque
diff options
context:
space:
mode:
authorLinus Färnstrand <faern@faern.net>2022-03-30 07:48:48 +0200
committerLinus Färnstrand <faern@faern.net>2022-03-30 20:28:50 +0200
commit796f38519093ebb67ff1bd5f4f72e76d8ba8aeb8 (patch)
treed9fa0959ec6d360d8f1fda89c5a8cc98ed74bad2 /library/alloc/src/collections/vec_deque
parent3e7514670db841a7f0d7656f3b13b1c8b2c11599 (diff)
downloadrust-796f38519093ebb67ff1bd5f4f72e76d8ba8aeb8.tar.gz
rust-796f38519093ebb67ff1bd5f4f72e76d8ba8aeb8.zip
Stabilize feature vec_retain_mut on Vec and VecDeque
Diffstat (limited to 'library/alloc/src/collections/vec_deque')
-rw-r--r--library/alloc/src/collections/vec_deque/mod.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/library/alloc/src/collections/vec_deque/mod.rs b/library/alloc/src/collections/vec_deque/mod.rs
index 63280e56332..dcae58ae590 100644
--- a/library/alloc/src/collections/vec_deque/mod.rs
+++ b/library/alloc/src/collections/vec_deque/mod.rs
@@ -2185,8 +2185,6 @@ impl<T, A: Allocator> VecDeque<T, A> {
     /// # Examples
     ///
     /// ```
-    /// #![feature(vec_retain_mut)]
-    ///
     /// use std::collections::VecDeque;
     ///
     /// let mut buf = VecDeque::new();
@@ -2199,7 +2197,7 @@ impl<T, A: Allocator> VecDeque<T, A> {
     /// });
     /// assert_eq!(buf, [3, 5]);
     /// ```
-    #[unstable(feature = "vec_retain_mut", issue = "90829")]
+    #[stable(feature = "vec_retain_mut", since = "1.61.0")]
     pub fn retain_mut<F>(&mut self, mut f: F)
     where
         F: FnMut(&mut T) -> bool,