From cdf1d7dfc94e1bc7b103af3ae466e5271ce00113 Mon Sep 17 00:00:00 2001 From: Thayne McCombs Date: Sat, 9 Dec 2017 01:09:23 -0700 Subject: [PATCH] Revert "Make drop impl stable for DrainFilter" This reverts commit 00acdbd51decd75ad10815ce7bcf3323830f95d6. --- src/liballoc/linked_list.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/liballoc/linked_list.rs b/src/liballoc/linked_list.rs index 1eac56c904d..3ac5a85d721 100644 --- a/src/liballoc/linked_list.rs +++ b/src/liballoc/linked_list.rs @@ -1071,7 +1071,7 @@ impl<'a, T, F> Iterator for DrainFilter<'a, T, F> } } -#[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, {