]> git.lizzy.rs Git - rust.git/commitdiff
Revert "Make drop impl stable for DrainFilter"
authorThayne McCombs <astrothayne@gmail.com>
Sat, 9 Dec 2017 08:09:23 +0000 (01:09 -0700)
committerThayne McCombs <astrothayne@gmail.com>
Sat, 9 Dec 2017 08:09:23 +0000 (01:09 -0700)
This reverts commit 00acdbd51decd75ad10815ce7bcf3323830f95d6.

src/liballoc/linked_list.rs

index 1eac56c904da282e72e85f8481628f65741008f6..3ac5a85d721a14d8bcdd8bfc6c41ab4dc88d5853 100644 (file)
@@ -1071,7 +1071,7 @@ fn size_hint(&self) -> (usize, Option<usize>) {
     }
 }
 
-#[stable(feature = "drain_filter_drop", since = "1.25.0")]
+#[unstable(feature = "drain_filter", reason = "recently added", issue = "43244")]
 impl<'a, T, F> Drop for DrainFilter<'a, T, F>
     where F: FnMut(&mut T) -> bool,
 {