Skip to content

Commit a7c3a29

Browse files
committed
Auto merge of #33019 - kamalmarhubi:binary_search_by_key, r=alexcrichton
slice: Add tracking issue for slice_binary_search_by_key
2 parents 6fa61b8 + 1e7ec39 commit a7c3a29

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/libcollections/slice.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@ impl<T> [T] {
770770
/// let r = s.binary_search_by_key(&1, |&(a,b)| b);
771771
/// assert!(match r { Ok(1...4) => true, _ => false, });
772772
/// ```
773-
#[unstable(feature = "slice_binary_search_by_key", reason = "recently added", issue = "0")]
773+
#[unstable(feature = "slice_binary_search_by_key", reason = "recently added", issue = "33018")]
774774
#[inline]
775775
pub fn binary_search_by_key<B, F>(&self, b: &B, f: F) -> Result<usize, usize>
776776
where F: FnMut(&T) -> B,

src/libcore/slice.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ pub trait SliceExt {
158158
#[stable(feature = "copy_from_slice", since = "1.9.0")]
159159
fn copy_from_slice(&mut self, src: &[Self::Item]) where Self::Item: Copy;
160160

161-
#[unstable(feature = "slice_binary_search_by_key", reason = "recently added", issue = "0")]
161+
#[unstable(feature = "slice_binary_search_by_key", reason = "recently added", issue = "33018")]
162162
fn binary_search_by_key<B, F>(&self, b: &B, f: F) -> Result<usize, usize>
163163
where F: FnMut(&Self::Item) -> B,
164164
B: Ord;

0 commit comments

Comments
 (0)