From 7c2cd93b2bf3c84b97ea798617105a6f85529d23 Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Wed, 10 May 2017 21:17:24 -0700 Subject: Stabilize library features for 1.18.0 Closes #38863 Closes #38980 Closes #38903 Closes #36648 --- src/libcollections/binary_heap.rs | 2 +- src/libcollections/tests/lib.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'src/libcollections') diff --git a/src/libcollections/binary_heap.rs b/src/libcollections/binary_heap.rs index 7d972403f65..4e9dea09f79 100644 --- a/src/libcollections/binary_heap.rs +++ b/src/libcollections/binary_heap.rs @@ -268,7 +268,7 @@ impl<'a, T: Ord> DerefMut for PeekMut<'a, T> { impl<'a, T: Ord> PeekMut<'a, T> { /// Removes the peeked value from the heap and returns it. - #[unstable(feature = "binary_heap_peek_mut_pop", issue = "38863")] + #[stable(feature = "binary_heap_peek_mut_pop", since = "1.18.0")] pub fn pop(mut this: PeekMut<'a, T>) -> T { let value = this.heap.pop().unwrap(); this.sift = false; diff --git a/src/libcollections/tests/lib.rs b/src/libcollections/tests/lib.rs index eae3bf3915f..cda8c6d5998 100644 --- a/src/libcollections/tests/lib.rs +++ b/src/libcollections/tests/lib.rs @@ -10,7 +10,6 @@ #![deny(warnings)] -#![feature(binary_heap_peek_mut_pop)] #![feature(box_syntax)] #![feature(inclusive_range_syntax)] #![feature(collection_placement)] -- cgit 1.4.1-3-g733a5