Skip to content

Commit d51b71a

Browse files
committed
add tracking issue
1 parent e75ffb0 commit d51b71a

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

library/alloc/src/slice.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ use crate::borrow::ToOwned;
9595
use crate::boxed::Box;
9696
use crate::vec::Vec;
9797

98-
#[unstable(feature = "array_chunks", issue = "none")]
98+
#[unstable(feature = "array_chunks", issue = "74985")]
9999
pub use core::slice::ArrayChunks;
100100
#[stable(feature = "slice_get_slice", since = "1.28.0")]
101101
pub use core::slice::SliceIndex;

library/core/src/slice/mod.rs

+9-9
Original file line numberDiff line numberDiff line change
@@ -868,7 +868,7 @@ impl<T> [T] {
868868
/// ```
869869
///
870870
/// [`chunks_exact`]: #method.chunks_exact
871-
#[unstable(feature = "array_chunks", issue = "none")]
871+
#[unstable(feature = "array_chunks", issue = "74985")]
872872
#[inline]
873873
pub fn array_chunks<const N: usize>(&self) -> ArrayChunks<'_, T, N> {
874874
assert_ne!(N, 0);
@@ -5484,7 +5484,7 @@ unsafe impl<'a, T> TrustedRandomAccess for ChunksExactMut<'a, T> {
54845484
/// [`remainder`]: ../../std/slice/struct.ArrayChunks.html#method.remainder
54855485
/// [slices]: ../../std/primitive.slice.html
54865486
#[derive(Debug)]
5487-
#[unstable(feature = "array_chunks", issue = "none")]
5487+
#[unstable(feature = "array_chunks", issue = "74985")]
54885488
pub struct ArrayChunks<'a, T: 'a, const N: usize> {
54895489
iter: Iter<'a, [T; N]>,
54905490
rem: &'a [T],
@@ -5494,21 +5494,21 @@ impl<'a, T, const N: usize> ArrayChunks<'a, T, N> {
54945494
/// Returns the remainder of the original slice that is not going to be
54955495
/// returned by the iterator. The returned slice has at most `chunk_size-1`
54965496
/// elements.
5497-
#[unstable(feature = "array_chunks", issue = "none")]
5497+
#[unstable(feature = "array_chunks", issue = "74985")]
54985498
pub fn remainder(&self) -> &'a [T] {
54995499
self.rem
55005500
}
55015501
}
55025502

55035503
// FIXME(#26925) Remove in favor of `#[derive(Clone)]`
5504-
#[unstable(feature = "array_chunks", issue = "none")]
5504+
#[unstable(feature = "array_chunks", issue = "74985")]
55055505
impl<T, const N: usize> Clone for ArrayChunks<'_, T, N> {
55065506
fn clone(&self) -> Self {
55075507
ArrayChunks { iter: self.iter.clone(), rem: self.rem }
55085508
}
55095509
}
55105510

5511-
#[unstable(feature = "array_chunks", issue = "none")]
5511+
#[unstable(feature = "array_chunks", issue = "74985")]
55125512
impl<'a, T, const N: usize> Iterator for ArrayChunks<'a, T, N> {
55135513
type Item = &'a [T; N];
55145514

@@ -5538,7 +5538,7 @@ impl<'a, T, const N: usize> Iterator for ArrayChunks<'a, T, N> {
55385538
}
55395539
}
55405540

5541-
#[unstable(feature = "array_chunks", issue = "none")]
5541+
#[unstable(feature = "array_chunks", issue = "74985")]
55425542
impl<'a, T, const N: usize> DoubleEndedIterator for ArrayChunks<'a, T, N> {
55435543
#[inline]
55445544
fn next_back(&mut self) -> Option<&'a [T; N]> {
@@ -5551,7 +5551,7 @@ impl<'a, T, const N: usize> DoubleEndedIterator for ArrayChunks<'a, T, N> {
55515551
}
55525552
}
55535553

5554-
#[unstable(feature = "array_chunks", issue = "none")]
5554+
#[unstable(feature = "array_chunks", issue = "74985")]
55555555
impl<T, const N: usize> ExactSizeIterator for ArrayChunks<'_, T, N> {
55565556
fn is_empty(&self) -> bool {
55575557
self.iter.is_empty()
@@ -5561,11 +5561,11 @@ impl<T, const N: usize> ExactSizeIterator for ArrayChunks<'_, T, N> {
55615561
#[unstable(feature = "trusted_len", issue = "37572")]
55625562
unsafe impl<T, const N: usize> TrustedLen for ArrayChunks<'_, T, N> {}
55635563

5564-
#[unstable(feature = "array_chunks", issue = "none")]
5564+
#[unstable(feature = "array_chunks", issue = "74985")]
55655565
impl<T, const N: usize> FusedIterator for ArrayChunks<'_, T, N> {}
55665566

55675567
#[doc(hidden)]
5568-
#[unstable(feature = "array_chunks", issue = "none")]
5568+
#[unstable(feature = "array_chunks", issue = "74985")]
55695569
unsafe impl<'a, T, const N: usize> TrustedRandomAccess for ArrayChunks<'a, T, N> {
55705570
unsafe fn get_unchecked(&mut self, i: usize) -> &'a [T; N] {
55715571
unsafe { self.iter.get_unchecked(i) }

0 commit comments

Comments
 (0)