diff options
| author | Scott McMurray <scottmcm@users.noreply.github.com> | 2017-05-10 10:23:19 -0700 |
|---|---|---|
| committer | Scott McMurray <scottmcm@users.noreply.github.com> | 2017-05-21 01:55:43 -0700 |
| commit | a92ad5e52a418429bb3174bd051cac4a957cfa70 (patch) | |
| tree | 13ed7ab89d185d9e33029bf4fe4a3b65cdba2e1d | |
| parent | 59a6fe6e879ee4472f1fd5006f2edf5d9c0e4206 (diff) | |
Update slice_rotate to a real tracking number
| -rw-r--r-- | src/doc/unstable-book/src/library-features/slice-rotate.md | 4 | ||||
| -rw-r--r-- | src/libcollections/slice.rs | 2 | ||||
| -rw-r--r-- | src/libcore/slice/mod.rs | 2 |
3 files changed, 4 insertions, 4 deletions
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 @@ impl<T> [T] { /// 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 @@ pub trait SliceExt { #[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")] |
