Skip to content

Commit 49e9ce3

Browse files
Rollup merge of rust-lang#42169 - scottmcm:new-step-trait-issue, r=alexcrichton
Give step_trait a distinct tracking issue from step_by iterator_step_by has decoupled their futures, so the tracking issue should split. Old issue: rust-lang#27741 New issue: rust-lang#42168 r? @alexcrichton (another follow-up to closed PR rust-lang#42110 (comment))
2 parents 60fba60 + 794e572 commit 49e9ce3

File tree

3 files changed

+7
-7
lines changed

3 files changed

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

3-
The tracking issue for this feature is: [#27741]
3+
The tracking issue for this feature is: [#42168]
44

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

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

src/libcore/iter/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ pub use self::iterator::Iterator;
309309

310310
#[unstable(feature = "step_trait",
311311
reason = "likely to be replaced by finer-grained traits",
312-
issue = "27741")]
312+
issue = "42168")]
313313
pub use self::range::Step;
314314
#[unstable(feature = "step_by", reason = "recent addition",
315315
issue = "27741")]

src/libcore/iter/range.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ use super::{FusedIterator, TrustedLen};
2020
/// two `Step` objects.
2121
#[unstable(feature = "step_trait",
2222
reason = "likely to be replaced by finer-grained traits",
23-
issue = "27741")]
23+
issue = "42168")]
2424
pub trait Step: PartialOrd + Sized {
2525
/// Steps `self` if possible.
2626
fn step(&self, by: &Self) -> Option<Self>;
@@ -55,7 +55,7 @@ macro_rules! step_impl_unsigned {
5555
($($t:ty)*) => ($(
5656
#[unstable(feature = "step_trait",
5757
reason = "likely to be replaced by finer-grained traits",
58-
issue = "27741")]
58+
issue = "42168")]
5959
impl Step for $t {
6060
#[inline]
6161
fn step(&self, by: &$t) -> Option<$t> {
@@ -115,7 +115,7 @@ macro_rules! step_impl_signed {
115115
($($t:ty)*) => ($(
116116
#[unstable(feature = "step_trait",
117117
reason = "likely to be replaced by finer-grained traits",
118-
issue = "27741")]
118+
issue = "42168")]
119119
impl Step for $t {
120120
#[inline]
121121
fn step(&self, by: &$t) -> Option<$t> {
@@ -187,7 +187,7 @@ macro_rules! step_impl_no_between {
187187
($($t:ty)*) => ($(
188188
#[unstable(feature = "step_trait",
189189
reason = "likely to be replaced by finer-grained traits",
190-
issue = "27741")]
190+
issue = "42168")]
191191
impl Step for $t {
192192
#[inline]
193193
fn step(&self, by: &$t) -> Option<$t> {

0 commit comments

Comments
 (0)