From: Scott McMurray Date: Wed, 10 May 2017 17:23:19 +0000 (-0700) Subject: Update slice_rotate to a real tracking number X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=a92ad5e52a418429bb3174bd051cac4a957cfa70;p=rust.git Update slice_rotate to a real tracking number --- diff --git a/src/doc/unstable-book/src/library-features/slice-rotate.md b/src/doc/unstable-book/src/library-features/slice-rotate.md index 40063412c29..77fd598f1ea 100644 --- a/src/doc/unstable-book/src/library-features/slice-rotate.md +++ b/src/doc/unstable-book/src/library-features/slice-rotate.md @@ -1,7 +1,7 @@ # `slice_rotate` -The tracking issue for this feature is: [#123456789] +The tracking issue for this feature is: [#41891] -[#123456789]: https://github.com/rust-lang/rust/issues/123456789 +[#41891]: https://github.com/rust-lang/rust/issues/41891 ------------------------ diff --git a/src/libcollections/slice.rs b/src/libcollections/slice.rs index c0b9f01dc4c..dd3259f0cb4 100644 --- a/src/libcollections/slice.rs +++ b/src/libcollections/slice.rs @@ -1387,7 +1387,7 @@ pub fn sort_unstable_by_key(&mut self, f: F) /// slide(&mut v, 6..8, 1); /// assert_eq!(&v, &[0, 3, 7, 4, 5, 6, 1, 2, 8, 9]); /// ``` - #[unstable(feature = "slice_rotate", issue = "123456789")] + #[unstable(feature = "slice_rotate", issue = "41891")] pub fn rotate(&mut self, mid: usize) -> usize { core_slice::SliceExt::rotate(self, mid) } diff --git a/src/libcore/slice/mod.rs b/src/libcore/slice/mod.rs index 744dd791a7e..8cdfcf23254 100644 --- a/src/libcore/slice/mod.rs +++ b/src/libcore/slice/mod.rs @@ -203,7 +203,7 @@ unsafe fn get_unchecked_mut(&mut self, index: I) -> &mut I::Output #[stable(feature = "core", since = "1.6.0")] fn ends_with(&self, needle: &[Self::Item]) -> bool where Self::Item: PartialEq; - #[unstable(feature = "slice_rotate", issue = "123456789")] + #[unstable(feature = "slice_rotate", issue = "41891")] fn rotate(&mut self, mid: usize) -> usize; #[stable(feature = "clone_from_slice", since = "1.7.0")]