Skip to content

Commit 1b406af

Browse files
committed
Use none as the issue instead of 0
1 parent 005912f commit 1b406af

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

library/alloc/src/slice.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ pub use core::slice::{RChunks, RChunksExact, RChunksExactMut, RChunksMut};
118118
pub use core::slice::{RSplit, RSplitMut};
119119
#[stable(feature = "rust1", since = "1.0.0")]
120120
pub use core::slice::{RSplitN, RSplitNMut, SplitN, SplitNMut};
121-
#[unstable(feature = "slice_group_by", issue = "0")]
121+
#[unstable(feature = "slice_group_by", issue = "none")]
122122
pub use core::slice::{GroupBy, GroupByMut};
123123

124124
////////////////////////////////////////////////////////////////////////////////

library/core/src/slice/iter.rs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2974,21 +2974,21 @@ unsafe impl<'a, T> TrustedRandomAccess for IterMut<'a, T> {
29742974
///
29752975
/// [`group_by`]: ../../std/primitive.slice.html#method.group_by
29762976
/// [slices]: ../../std/primitive.slice.html
2977-
#[unstable(feature = "slice_group_by", issue = "0")]
2977+
#[unstable(feature = "slice_group_by", issue = "none")]
29782978
#[derive(Debug)] // FIXME implement Debug to be more user friendly
29792979
pub struct GroupBy<'a, T: 'a, P> {
29802980
slice: &'a [T],
29812981
predicate: P,
29822982
}
29832983

2984-
#[unstable(feature = "slice_group_by", issue = "0")]
2984+
#[unstable(feature = "slice_group_by", issue = "none")]
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 = "0")]
2991+
#[unstable(feature = "slice_group_by", issue = "none")]
29922992
impl<'a, T: 'a, P> Iterator for GroupBy<'a, T, P>
29932993
where P: FnMut(&T, &T) -> bool,
29942994
{
@@ -3025,7 +3025,7 @@ where P: FnMut(&T, &T) -> bool,
30253025
}
30263026
}
30273027

3028-
#[unstable(feature = "slice_group_by", issue = "0")]
3028+
#[unstable(feature = "slice_group_by", issue = "none")]
30293029
impl<'a, T: 'a, P> DoubleEndedIterator for GroupBy<'a, T, P>
30303030
where P: FnMut(&T, &T) -> bool,
30313031
{
@@ -3046,7 +3046,7 @@ where P: FnMut(&T, &T) -> bool,
30463046
}
30473047
}
30483048

3049-
#[unstable(feature = "slice_group_by", issue = "0")]
3049+
#[unstable(feature = "slice_group_by", issue = "none")]
30503050
impl<'a, T: 'a, P> FusedIterator for GroupBy<'a, T, P>
30513051
where P: FnMut(&T, &T) -> bool,
30523052
{ }
@@ -3058,21 +3058,21 @@ where P: FnMut(&T, &T) -> bool,
30583058
///
30593059
/// [`group_by_mut`]: ../../std/primitive.slice.html#method.group_by_mut
30603060
/// [slices]: ../../std/primitive.slice.html
3061-
#[unstable(feature = "slice_group_by", issue = "0")]
3061+
#[unstable(feature = "slice_group_by", issue = "none")]
30623062
#[derive(Debug)] // FIXME implement Debug to be more user friendly
30633063
pub struct GroupByMut<'a, T: 'a, P> {
30643064
slice: &'a mut [T],
30653065
predicate: P,
30663066
}
30673067

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

3075-
#[unstable(feature = "slice_group_by", issue = "0")]
3075+
#[unstable(feature = "slice_group_by", issue = "none")]
30763076
impl<'a, T: 'a, P> Iterator for GroupByMut<'a, T, P>
30773077
where P: FnMut(&T, &T) -> bool,
30783078
{
@@ -3110,7 +3110,7 @@ where P: FnMut(&T, &T) -> bool,
31103110
}
31113111
}
31123112

3113-
#[unstable(feature = "slice_group_by", issue = "0")]
3113+
#[unstable(feature = "slice_group_by", issue = "none")]
31143114
impl<'a, T: 'a, P> DoubleEndedIterator for GroupByMut<'a, T, P>
31153115
where P: FnMut(&T, &T) -> bool,
31163116
{

library/core/src/slice/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1228,7 +1228,7 @@ impl<T> [T] {
12281228
/// assert_eq!(iter.next(), Some(&[2, 2, 2][..]));
12291229
/// assert_eq!(iter.next(), None);
12301230
/// ```
1231-
#[unstable(feature = "slice_group_by", issue = "0")]
1231+
#[unstable(feature = "slice_group_by", issue = "none")]
12321232
#[inline]
12331233
pub fn group_by<F>(&self, pred: F) -> GroupBy<T, F>
12341234
where F: FnMut(&T, &T) -> bool
@@ -1257,7 +1257,7 @@ impl<T> [T] {
12571257
/// assert_eq!(iter.next(), Some(&mut [2, 2, 2][..]));
12581258
/// assert_eq!(iter.next(), None);
12591259
/// ```
1260-
#[unstable(feature = "slice_group_by", issue = "0")]
1260+
#[unstable(feature = "slice_group_by", issue = "none")]
12611261
#[inline]
12621262
pub fn group_by_mut<F>(&mut self, pred: F) -> GroupByMut<T, F>
12631263
where F: FnMut(&T, &T) -> bool

0 commit comments

Comments
 (0)