@@ -2439,7 +2439,7 @@ impl<T> VecDeque<T> {
24392439 /// deque.insert(idx, num);
24402440 /// assert_eq!(deque, &[0, 1, 1, 1, 1, 2, 3, 5, 8, 13, 21, 34, 42, 55]);
24412441 /// ```
2442- #[ stable( feature = "vecdeque_binary_search" , since = "1.53 .0" ) ]
2442+ #[ stable( feature = "vecdeque_binary_search" , since = "1.54 .0" ) ]
24432443 #[ inline]
24442444 pub fn binary_search ( & self , x : & T ) -> Result < usize , usize >
24452445 where
@@ -2484,7 +2484,7 @@ impl<T> VecDeque<T> {
24842484 /// let r = deque.binary_search_by(|x| x.cmp(&1));
24852485 /// assert!(matches!(r, Ok(1..=4)));
24862486 /// ```
2487- #[ stable( feature = "vecdeque_binary_search" , since = "1.53 .0" ) ]
2487+ #[ stable( feature = "vecdeque_binary_search" , since = "1.54 .0" ) ]
24882488 pub fn binary_search_by < ' a , F > ( & ' a self , mut f : F ) -> Result < usize , usize >
24892489 where
24902490 F : FnMut ( & ' a T ) -> Ordering ,
@@ -2539,7 +2539,7 @@ impl<T> VecDeque<T> {
25392539 /// let r = deque.binary_search_by_key(&1, |&(a, b)| b);
25402540 /// assert!(matches!(r, Ok(1..=4)));
25412541 /// ```
2542- #[ stable( feature = "vecdeque_binary_search" , since = "1.53 .0" ) ]
2542+ #[ stable( feature = "vecdeque_binary_search" , since = "1.54 .0" ) ]
25432543 #[ inline]
25442544 pub fn binary_search_by_key < ' a , B , F > ( & ' a self , b : & B , mut f : F ) -> Result < usize , usize >
25452545 where
0 commit comments