Skip to content

Commit 8b53be6

Browse files
committed
Replace the tracking issue for the slice_group_by feature
1 parent a2d55d7 commit 8b53be6

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

library/alloc/src/slice.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ pub use core::slice::{Chunks, Windows};
110110
pub use core::slice::{ChunksExact, ChunksExactMut};
111111
#[stable(feature = "rust1", since = "1.0.0")]
112112
pub use core::slice::{ChunksMut, Split, SplitMut};
113-
#[unstable(feature = "slice_group_by", issue = "none")]
113+
#[unstable(feature = "slice_group_by", issue = "80552")]
114114
pub use core::slice::{GroupBy, GroupByMut};
115115
#[stable(feature = "rust1", since = "1.0.0")]
116116
pub use core::slice::{Iter, IterMut};

library/core/src/slice/iter.rs

+12-12
Original file line numberDiff line numberDiff line change
@@ -2975,20 +2975,20 @@ unsafe impl<'a, T> TrustedRandomAccess for IterMut<'a, T> {
29752975
///
29762976
/// [`group_by`]: ../../std/primitive.slice.html#method.group_by
29772977
/// [slices]: ../../std/primitive.slice.html
2978-
#[unstable(feature = "slice_group_by", issue = "none")]
2978+
#[unstable(feature = "slice_group_by", issue = "80552")]
29792979
pub struct GroupBy<'a, T: 'a, P> {
29802980
slice: &'a [T],
29812981
predicate: P,
29822982
}
29832983

2984-
#[unstable(feature = "slice_group_by", issue = "none")]
2984+
#[unstable(feature = "slice_group_by", issue = "80552")]
29852985
impl<'a, T: 'a, P> GroupBy<'a, T, P> {
29862986
pub(super) fn new(slice: &'a [T], predicate: P) -> Self {
29872987
GroupBy { slice, predicate }
29882988
}
29892989
}
29902990

2991-
#[unstable(feature = "slice_group_by", issue = "none")]
2991+
#[unstable(feature = "slice_group_by", issue = "80552")]
29922992
impl<'a, T: 'a, P> Iterator for GroupBy<'a, T, P>
29932993
where
29942994
P: FnMut(&T, &T) -> bool,
@@ -3022,7 +3022,7 @@ where
30223022
}
30233023
}
30243024

3025-
#[unstable(feature = "slice_group_by", issue = "none")]
3025+
#[unstable(feature = "slice_group_by", issue = "80552")]
30263026
impl<'a, T: 'a, P> DoubleEndedIterator for GroupBy<'a, T, P>
30273027
where
30283028
P: FnMut(&T, &T) -> bool,
@@ -3044,10 +3044,10 @@ where
30443044
}
30453045
}
30463046

3047-
#[unstable(feature = "slice_group_by", issue = "none")]
3047+
#[unstable(feature = "slice_group_by", issue = "80552")]
30483048
impl<'a, T: 'a, P> FusedIterator for GroupBy<'a, T, P> where P: FnMut(&T, &T) -> bool {}
30493049

3050-
#[unstable(feature = "slice_group_by", issue = "none")]
3050+
#[unstable(feature = "slice_group_by", issue = "80552")]
30513051
impl<'a, T: 'a + fmt::Debug, P> fmt::Debug for GroupBy<'a, T, P> {
30523052
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
30533053
f.debug_struct("GroupBy").field("slice", &self.slice).finish()
@@ -3061,20 +3061,20 @@ impl<'a, T: 'a + fmt::Debug, P> fmt::Debug for GroupBy<'a, T, P> {
30613061
///
30623062
/// [`group_by_mut`]: ../../std/primitive.slice.html#method.group_by_mut
30633063
/// [slices]: ../../std/primitive.slice.html
3064-
#[unstable(feature = "slice_group_by", issue = "none")]
3064+
#[unstable(feature = "slice_group_by", issue = "80552")]
30653065
pub struct GroupByMut<'a, T: 'a, P> {
30663066
slice: &'a mut [T],
30673067
predicate: P,
30683068
}
30693069

3070-
#[unstable(feature = "slice_group_by", issue = "none")]
3070+
#[unstable(feature = "slice_group_by", issue = "80552")]
30713071
impl<'a, T: 'a, P> GroupByMut<'a, T, P> {
30723072
pub(super) fn new(slice: &'a mut [T], predicate: P) -> Self {
30733073
GroupByMut { slice, predicate }
30743074
}
30753075
}
30763076

3077-
#[unstable(feature = "slice_group_by", issue = "none")]
3077+
#[unstable(feature = "slice_group_by", issue = "80552")]
30783078
impl<'a, T: 'a, P> Iterator for GroupByMut<'a, T, P>
30793079
where
30803080
P: FnMut(&T, &T) -> bool,
@@ -3109,7 +3109,7 @@ where
31093109
}
31103110
}
31113111

3112-
#[unstable(feature = "slice_group_by", issue = "none")]
3112+
#[unstable(feature = "slice_group_by", issue = "80552")]
31133113
impl<'a, T: 'a, P> DoubleEndedIterator for GroupByMut<'a, T, P>
31143114
where
31153115
P: FnMut(&T, &T) -> bool,
@@ -3132,10 +3132,10 @@ where
31323132
}
31333133
}
31343134

3135-
#[unstable(feature = "slice_group_by", issue = "none")]
3135+
#[unstable(feature = "slice_group_by", issue = "80552")]
31363136
impl<'a, T: 'a, P> FusedIterator for GroupByMut<'a, T, P> where P: FnMut(&T, &T) -> bool {}
31373137

3138-
#[unstable(feature = "slice_group_by", issue = "none")]
3138+
#[unstable(feature = "slice_group_by", issue = "80552")]
31393139
impl<'a, T: 'a + fmt::Debug, P> fmt::Debug for GroupByMut<'a, T, P> {
31403140
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
31413141
f.debug_struct("GroupByMut").field("slice", &self.slice).finish()

library/core/src/slice/mod.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ pub use iter::{ArrayChunks, ArrayChunksMut};
5757
#[unstable(feature = "array_windows", issue = "75027")]
5858
pub use iter::ArrayWindows;
5959

60-
#[unstable(feature = "slice_group_by", issue = "none")]
60+
#[unstable(feature = "slice_group_by", issue = "80552")]
6161
pub use iter::{GroupBy, GroupByMut};
6262

6363
#[unstable(feature = "split_inclusive", issue = "72360")]
@@ -1246,7 +1246,7 @@ impl<T> [T] {
12461246
/// assert_eq!(iter.next(), Some(&[2, 3, 4][..]));
12471247
/// assert_eq!(iter.next(), None);
12481248
/// ```
1249-
#[unstable(feature = "slice_group_by", issue = "none")]
1249+
#[unstable(feature = "slice_group_by", issue = "80552")]
12501250
#[inline]
12511251
pub fn group_by<F>(&self, pred: F) -> GroupBy<'_, T, F>
12521252
where
@@ -1291,7 +1291,7 @@ impl<T> [T] {
12911291
/// assert_eq!(iter.next(), Some(&mut [2, 3, 4][..]));
12921292
/// assert_eq!(iter.next(), None);
12931293
/// ```
1294-
#[unstable(feature = "slice_group_by", issue = "none")]
1294+
#[unstable(feature = "slice_group_by", issue = "80552")]
12951295
#[inline]
12961296
pub fn group_by_mut<F>(&mut self, pred: F) -> GroupByMut<'_, T, F>
12971297
where

0 commit comments

Comments
 (0)