File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -255,8 +255,6 @@ impl Ordering {
255255 /// # Examples
256256 ///
257257 /// ```
258- /// #![feature(ordering_chaining)]
259- ///
260258 /// use std::cmp::Ordering;
261259 ///
262260 /// let result = Ordering::Equal.then(Ordering::Less);
@@ -277,7 +275,7 @@ impl Ordering {
277275 ///
278276 /// assert_eq!(result, Ordering::Less);
279277 /// ```
280- #[ unstable ( feature = "ordering_chaining" , issue = "37053 " ) ]
278+ #[ stable ( feature = "ordering_chaining" , since = "1.17.0 " ) ]
281279 pub fn then ( self , other : Ordering ) -> Ordering {
282280 match self {
283281 Equal => other,
@@ -293,8 +291,6 @@ impl Ordering {
293291 /// # Examples
294292 ///
295293 /// ```
296- /// #![feature(ordering_chaining)]
297- ///
298294 /// use std::cmp::Ordering;
299295 ///
300296 /// let result = Ordering::Equal.then_with(|| Ordering::Less);
@@ -315,7 +311,7 @@ impl Ordering {
315311 ///
316312 /// assert_eq!(result, Ordering::Less);
317313 /// ```
318- #[ unstable ( feature = "ordering_chaining" , issue = "37053 " ) ]
314+ #[ stable ( feature = "ordering_chaining" , since = "1.17.0 " ) ]
319315 pub fn then_with < F : FnOnce ( ) -> Ordering > ( self , f : F ) -> Ordering {
320316 match self {
321317 Equal => f ( ) ,
You can’t perform that action at this time.
0 commit comments