diff options
| author | Kamal Marhubi <kamal@marhubi.com> | 2016-04-15 19:27:03 -0400 |
|---|---|---|
| committer | Kamal Marhubi <kamal@marhubi.com> | 2016-04-15 19:27:03 -0400 |
| commit | 1e7ec39fc31de1b0c06c4c1795a0be2e0ceaaeaf (patch) | |
| tree | 35ef36db30888c09d2200d3388c6dc1babf623ba | |
| parent | 9debf51f4b8a5d437df1abca57c5a58c45297b60 (diff) | |
| download | rust-1e7ec39fc31de1b0c06c4c1795a0be2e0ceaaeaf.tar.gz rust-1e7ec39fc31de1b0c06c4c1795a0be2e0ceaaeaf.zip | |
slice: Add tracking issue for slice_binary_search_by_key
| -rw-r--r-- | src/libcollections/slice.rs | 2 | ||||
| -rw-r--r-- | 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> [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<B, F>(&self, b: &B, f: F) -> Result<usize, usize> 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<B, F>(&self, b: &B, f: F) -> Result<usize, usize> where F: FnMut(&Self::Item) -> B, B: Ord; |
