Skip to content

Commit

Permalink
Make drop impl stable for DrainFilter
Browse files Browse the repository at this point in the history
  • Loading branch information
tmccombs committed Dec 8, 2017
1 parent 37335d3 commit 00acdbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/liballoc/linked_list.rs
Expand Up @@ -1071,7 +1071,7 @@ impl<'a, T, F> Iterator for DrainFilter<'a, T, F>
}
}

#[unstable(feature = "drain_filter", reason = "recently added", issue = "43244")]
#[stable(feature = "drain_filter_drop", since = "1.25.0")]
impl<'a, T, F> Drop for DrainFilter<'a, T, F>
where F: FnMut(&mut T) -> bool,
{
Expand Down

0 comments on commit 00acdbd

Please sign in to comment.