From 1e7ec39fc31de1b0c06c4c1795a0be2e0ceaaeaf Mon Sep 17 00:00:00 2001 From: Kamal Marhubi Date: Fri, 15 Apr 2016 19:27:03 -0400 Subject: [PATCH] slice: Add tracking issue for slice_binary_search_by_key --- src/libcollections/slice.rs | 2 +- src/libcore/slice.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libcollections/slice.rs b/src/libcollections/slice.rs index 07db33c6be8..588ad7a319a 100644 --- a/src/libcollections/slice.rs +++ b/src/libcollections/slice.rs @@ -770,7 +770,7 @@ impl [T] { /// let r = s.binary_search_by_key(&1, |&(a,b)| b); /// assert!(match r { Ok(1...4) => true, _ => false, }); /// ``` - #[unstable(feature = "slice_binary_search_by_key", reason = "recently added", issue = "0")] + #[unstable(feature = "slice_binary_search_by_key", reason = "recently added", issue = "33018")] #[inline] pub fn binary_search_by_key(&self, b: &B, f: F) -> Result where F: FnMut(&T) -> B, diff --git a/src/libcore/slice.rs b/src/libcore/slice.rs index 68f5a725b74..eb12ee28177 100644 --- a/src/libcore/slice.rs +++ b/src/libcore/slice.rs @@ -158,7 +158,7 @@ pub trait SliceExt { #[stable(feature = "copy_from_slice", since = "1.9.0")] fn copy_from_slice(&mut self, src: &[Self::Item]) where Self::Item: Copy; - #[unstable(feature = "slice_binary_search_by_key", reason = "recently added", issue = "0")] + #[unstable(feature = "slice_binary_search_by_key", reason = "recently added", issue = "33018")] fn binary_search_by_key(&self, b: &B, f: F) -> Result where F: FnMut(&Self::Item) -> B, B: Ord;