@@ -978,7 +978,6 @@ impl<T> BinaryHeap<T> {
978978 /// # Examples
979979 ///
980980 /// ```
981- /// #![feature(try_reserve_2)]
982981 /// use std::collections::BinaryHeap;
983982 /// use std::collections::TryReserveError;
984983 ///
@@ -995,7 +994,7 @@ impl<T> BinaryHeap<T> {
995994 /// }
996995 /// # find_max_slow(&[1, 2, 3]).expect("why is the test harness OOMing on 12 bytes?");
997996 /// ```
998- #[ unstable ( feature = "try_reserve_2" , issue = "91789 " ) ]
997+ #[ stable ( feature = "try_reserve_2" , since = "1.63.0 " ) ]
999998 pub fn try_reserve_exact ( & mut self , additional : usize ) -> Result < ( ) , TryReserveError > {
1000999 self . data . try_reserve_exact ( additional)
10011000 }
@@ -1014,7 +1013,6 @@ impl<T> BinaryHeap<T> {
10141013 /// # Examples
10151014 ///
10161015 /// ```
1017- /// #![feature(try_reserve_2)]
10181016 /// use std::collections::BinaryHeap;
10191017 /// use std::collections::TryReserveError;
10201018 ///
@@ -1031,7 +1029,7 @@ impl<T> BinaryHeap<T> {
10311029 /// }
10321030 /// # find_max_slow(&[1, 2, 3]).expect("why is the test harness OOMing on 12 bytes?");
10331031 /// ```
1034- #[ unstable ( feature = "try_reserve_2" , issue = "91789 " ) ]
1032+ #[ stable ( feature = "try_reserve_2" , since = "1.63.0 " ) ]
10351033 pub fn try_reserve ( & mut self , additional : usize ) -> Result < ( ) , TryReserveError > {
10361034 self . data . try_reserve ( additional)
10371035 }
0 commit comments