Skip to content

Commit e0506d1

Browse files
committed
liballoc: VecDeque: Add tracking issue for binary search fns
1 parent 36d9b72 commit e0506d1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

library/alloc/src/collections/vec_deque.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -2471,7 +2471,7 @@ impl<T> VecDeque<T> {
24712471
/// deque.insert(idx, num);
24722472
/// assert_eq!(deque, &[0, 1, 1, 1, 1, 2, 3, 5, 8, 13, 21, 34, 42, 55]);
24732473
/// ```
2474-
#[unstable(feature = "vecdeque_binary_search", issue = "1")]
2474+
#[unstable(feature = "vecdeque_binary_search", issue = "78021")]
24752475
#[inline]
24762476
pub fn binary_search(&self, x: &T) -> Result<usize, usize>
24772477
where
@@ -2511,7 +2511,7 @@ impl<T> VecDeque<T> {
25112511
/// let r = deque.binary_search_by(|x| x.cmp(&1));
25122512
/// assert!(matches!(r, Ok(1..=4)));
25132513
/// ```
2514-
#[unstable(feature = "vecdeque_binary_search", issue = "1")]
2514+
#[unstable(feature = "vecdeque_binary_search", issue = "78021")]
25152515
pub fn binary_search_by<'a, F>(&'a self, mut f: F) -> Result<usize, usize>
25162516
where
25172517
F: FnMut(&'a T) -> Ordering,
@@ -2569,7 +2569,7 @@ impl<T> VecDeque<T> {
25692569
/// let r = deque.binary_search_by_key(&1, |&(a,b)| b);
25702570
/// assert!(matches!(r, Ok(1..=4)));
25712571
/// ```
2572-
#[unstable(feature = "vecdeque_binary_search", issue = "1")]
2572+
#[unstable(feature = "vecdeque_binary_search", issue = "78021")]
25732573
#[inline]
25742574
pub fn binary_search_by_key<'a, B, F>(&'a self, b: &B, mut f: F) -> Result<usize, usize>
25752575
where

0 commit comments

Comments
 (0)