@@ -974,7 +974,7 @@ impl<T> BinaryHeap<T> {
974
974
/// # Examples
975
975
///
976
976
/// ```
977
- /// #![feature(try_reserve_binary_heap )]
977
+ /// #![feature(try_reserve_2 )]
978
978
/// use std::collections::BinaryHeap;
979
979
/// use std::collections::TryReserveError;
980
980
///
@@ -991,7 +991,7 @@ impl<T> BinaryHeap<T> {
991
991
/// }
992
992
/// # find_max_slow(&[1, 2, 3]).expect("why is the test harness OOMing on 12 bytes?");
993
993
/// ```
994
- #[ unstable( feature = "try_reserve_binary_heap " , issue = "none " ) ]
994
+ #[ unstable( feature = "try_reserve_2 " , issue = "91789 " ) ]
995
995
pub fn try_reserve_exact ( & mut self , additional : usize ) -> Result < ( ) , TryReserveError > {
996
996
self . data . try_reserve_exact ( additional)
997
997
}
@@ -1010,7 +1010,7 @@ impl<T> BinaryHeap<T> {
1010
1010
/// # Examples
1011
1011
///
1012
1012
/// ```
1013
- /// #![feature(try_reserve_binary_heap )]
1013
+ /// #![feature(try_reserve_2 )]
1014
1014
/// use std::collections::BinaryHeap;
1015
1015
/// use std::collections::TryReserveError;
1016
1016
///
@@ -1027,7 +1027,7 @@ impl<T> BinaryHeap<T> {
1027
1027
/// }
1028
1028
/// # find_max_slow(&[1, 2, 3]).expect("why is the test harness OOMing on 12 bytes?");
1029
1029
/// ```
1030
- #[ unstable( feature = "try_reserve_binary_heap " , issue = "none " ) ]
1030
+ #[ unstable( feature = "try_reserve_2 " , issue = "91789 " ) ]
1031
1031
pub fn try_reserve ( & mut self , additional : usize ) -> Result < ( ) , TryReserveError > {
1032
1032
self . data . try_reserve ( additional)
1033
1033
}
0 commit comments