Skip to content

Commit a92ad5e

Browse files
committed
Update slice_rotate to a real tracking number
1 parent 59a6fe6 commit a92ad5e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# `slice_rotate`
22

3-
The tracking issue for this feature is: [#123456789]
3+
The tracking issue for this feature is: [#41891]
44

5-
[#123456789]: https://github.com/rust-lang/rust/issues/123456789
5+
[#41891]: https://github.com/rust-lang/rust/issues/41891
66

77
------------------------

src/libcollections/slice.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1387,7 +1387,7 @@ impl<T> [T] {
13871387
/// slide(&mut v, 6..8, 1);
13881388
/// assert_eq!(&v, &[0, 3, 7, 4, 5, 6, 1, 2, 8, 9]);
13891389
/// ```
1390-
#[unstable(feature = "slice_rotate", issue = "123456789")]
1390+
#[unstable(feature = "slice_rotate", issue = "41891")]
13911391
pub fn rotate(&mut self, mid: usize) -> usize {
13921392
core_slice::SliceExt::rotate(self, mid)
13931393
}

src/libcore/slice/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ pub trait SliceExt {
203203
#[stable(feature = "core", since = "1.6.0")]
204204
fn ends_with(&self, needle: &[Self::Item]) -> bool where Self::Item: PartialEq;
205205

206-
#[unstable(feature = "slice_rotate", issue = "123456789")]
206+
#[unstable(feature = "slice_rotate", issue = "41891")]
207207
fn rotate(&mut self, mid: usize) -> usize;
208208

209209
#[stable(feature = "clone_from_slice", since = "1.7.0")]

0 commit comments

Comments
 (0)