@@ -57,7 +57,6 @@ pub trait Step: Clone + PartialOrd + Sized {
5757 ///
5858 /// * `Step::forward_checked(a, n) == (0..n).try_fold(a, |x, _| Step::forward_checked(&x, 1))`
5959 /// * Corollary: `Step::forward_checked(&a, 0) == Some(a)`
60- #[ unstable( feature = "step_trait_ext" , reason = "recently added" , issue = "42168" ) ]
6160 fn forward_checked ( start : Self , count : usize ) -> Option < Self > ;
6261
6362 /// Returns the value that would be obtained by taking the *successor*
@@ -83,7 +82,6 @@ pub trait Step: Clone + PartialOrd + Sized {
8382 /// * Corollary: `Step::forward(a, 0) == a`
8483 /// * `Step::forward(a, n) >= a`
8584 /// * `Step::backward(Step::forward(a, n), n) == a`
86- #[ unstable( feature = "step_trait_ext" , reason = "recently added" , issue = "42168" ) ]
8785 fn forward ( start : Self , count : usize ) -> Self {
8886 Step :: forward_checked ( start, count) . expect ( "overflow in `Step::forward`" )
8987 }
@@ -108,7 +106,6 @@ pub trait Step: Clone + PartialOrd + Sized {
108106 /// For any `a` and `n`, where no overflow occurs:
109107 ///
110108 /// * `Step::forward_unchecked(a, n)` is equivalent to `Step::forward(a, n)`
111- #[ unstable( feature = "step_trait_ext" , reason = "recently added" , issue = "42168" ) ]
112109 unsafe fn forward_unchecked ( start : Self , count : usize ) -> Self {
113110 Step :: forward ( start, count)
114111 }
@@ -129,7 +126,6 @@ pub trait Step: Clone + PartialOrd + Sized {
129126 ///
130127 /// * `Step::backward_checked(a, n) == (0..n).try_fold(a, |x, _| Step::backward_checked(&x, 1))`
131128 /// * Corollary: `Step::backward_checked(&a, 0) == Some(a)`
132- #[ unstable( feature = "step_trait_ext" , reason = "recently added" , issue = "42168" ) ]
133129 fn backward_checked ( start : Self , count : usize ) -> Option < Self > ;
134130
135131 /// Returns the value that would be obtained by taking the *predecessor*
@@ -155,7 +151,6 @@ pub trait Step: Clone + PartialOrd + Sized {
155151 /// * Corollary: `Step::backward(a, 0) == a`
156152 /// * `Step::backward(a, n) <= a`
157153 /// * `Step::forward(Step::backward(a, n), n) == a`
158- #[ unstable( feature = "step_trait_ext" , reason = "recently added" , issue = "42168" ) ]
159154 fn backward ( start : Self , count : usize ) -> Self {
160155 Step :: backward_checked ( start, count) . expect ( "overflow in `Step::backward`" )
161156 }
@@ -180,7 +175,6 @@ pub trait Step: Clone + PartialOrd + Sized {
180175 /// For any `a` and `n`, where no overflow occurs:
181176 ///
182177 /// * `Step::backward_unchecked(a, n)` is equivalent to `Step::backward(a, n)`
183- #[ unstable( feature = "step_trait_ext" , reason = "recently added" , issue = "42168" ) ]
184178 unsafe fn backward_unchecked ( start : Self , count : usize ) -> Self {
185179 Step :: backward ( start, count)
186180 }
0 commit comments