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);
@@ -278,7 +276,7 @@ impl Ordering {
278276 /// assert_eq!(result, Ordering::Less);
279277 /// ```
280278 #[ inline]
281- #[ unstable ( feature = "ordering_chaining" , issue = "37053 " ) ]
279+ #[ stable ( feature = "ordering_chaining" , since = "1.17.0 " ) ]
282280 pub fn then ( self , other : Ordering ) -> Ordering {
283281 match self {
284282 Equal => other,
@@ -294,8 +292,6 @@ impl Ordering {
294292 /// # Examples
295293 ///
296294 /// ```
297- /// #![feature(ordering_chaining)]
298- ///
299295 /// use std::cmp::Ordering;
300296 ///
301297 /// let result = Ordering::Equal.then_with(|| Ordering::Less);
@@ -317,7 +313,7 @@ impl Ordering {
317313 /// assert_eq!(result, Ordering::Less);
318314 /// ```
319315 #[ inline]
320- #[ unstable ( feature = "ordering_chaining" , issue = "37053 " ) ]
316+ #[ stable ( feature = "ordering_chaining" , since = "1.17.0 " ) ]
321317 pub fn then_with < F : FnOnce ( ) -> Ordering > ( self , f : F ) -> Ordering {
322318 match self {
323319 Equal => f ( ) ,
You can’t perform that action at this time.
0 commit comments