Skip to content

Commit e478cad

Browse files
committed
Add a tracking issue for new as_slice methods
1 parent 51e0d1c commit e478cad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/liballoc/vec.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2481,7 +2481,7 @@ impl<'a, T> Drain<'a, T> {
24812481
/// let _ = drain.next().unwrap();
24822482
/// assert_eq!(drain.as_slice(), &['b', 'c']);
24832483
/// ```
2484-
#[unstable(feature = "vec_drain_as_slice", reason = "recently added", issue = "0")]
2484+
#[unstable(feature = "vec_drain_as_slice", reason = "recently added", issue = "58957")]
24852485
pub fn as_slice(&self) -> &[T] {
24862486
self.iter.as_slice()
24872487
}

src/libcore/slice/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3312,7 +3312,7 @@ impl<'a, T> IterMut<'a, T> {
33123312
/// // Now `as_slice` returns "[2, 3]":
33133313
/// assert_eq!(iter.as_slice(), &[2, 3]);
33143314
/// ```
3315-
#[unstable(feature = "slice_iter_mut_as_slice", reason = "recently added", issue = "0")]
3315+
#[unstable(feature = "slice_iter_mut_as_slice", reason = "recently added", issue = "58957")]
33163316
pub fn as_slice(&self) -> &[T] {
33173317
self.make_slice()
33183318
}

0 commit comments

Comments
 (0)