@@ -334,7 +334,6 @@ impl Ordering {
334
334
/// # Examples
335
335
///
336
336
/// ```
337
- /// #![feature(ordering_helpers)]
338
337
/// use std::cmp::Ordering;
339
338
///
340
339
/// assert_eq!(Ordering::Less.is_eq(), false);
@@ -343,7 +342,8 @@ impl Ordering {
343
342
/// ```
344
343
#[ inline]
345
344
#[ must_use]
346
- #[ unstable( feature = "ordering_helpers" , issue = "79885" ) ]
345
+ #[ rustc_const_stable( feature = "ordering_helpers" , since = "1.53.0" ) ]
346
+ #[ stable( feature = "ordering_helpers" , since = "1.53.0" ) ]
347
347
pub const fn is_eq ( self ) -> bool {
348
348
matches ! ( self , Equal )
349
349
}
@@ -353,7 +353,6 @@ impl Ordering {
353
353
/// # Examples
354
354
///
355
355
/// ```
356
- /// #![feature(ordering_helpers)]
357
356
/// use std::cmp::Ordering;
358
357
///
359
358
/// assert_eq!(Ordering::Less.is_ne(), true);
@@ -362,7 +361,8 @@ impl Ordering {
362
361
/// ```
363
362
#[ inline]
364
363
#[ must_use]
365
- #[ unstable( feature = "ordering_helpers" , issue = "79885" ) ]
364
+ #[ rustc_const_stable( feature = "ordering_helpers" , since = "1.53.0" ) ]
365
+ #[ stable( feature = "ordering_helpers" , since = "1.53.0" ) ]
366
366
pub const fn is_ne ( self ) -> bool {
367
367
!matches ! ( self , Equal )
368
368
}
@@ -372,7 +372,6 @@ impl Ordering {
372
372
/// # Examples
373
373
///
374
374
/// ```
375
- /// #![feature(ordering_helpers)]
376
375
/// use std::cmp::Ordering;
377
376
///
378
377
/// assert_eq!(Ordering::Less.is_lt(), true);
@@ -381,7 +380,8 @@ impl Ordering {
381
380
/// ```
382
381
#[ inline]
383
382
#[ must_use]
384
- #[ unstable( feature = "ordering_helpers" , issue = "79885" ) ]
383
+ #[ rustc_const_stable( feature = "ordering_helpers" , since = "1.53.0" ) ]
384
+ #[ stable( feature = "ordering_helpers" , since = "1.53.0" ) ]
385
385
pub const fn is_lt ( self ) -> bool {
386
386
matches ! ( self , Less )
387
387
}
@@ -391,7 +391,6 @@ impl Ordering {
391
391
/// # Examples
392
392
///
393
393
/// ```
394
- /// #![feature(ordering_helpers)]
395
394
/// use std::cmp::Ordering;
396
395
///
397
396
/// assert_eq!(Ordering::Less.is_gt(), false);
@@ -400,7 +399,8 @@ impl Ordering {
400
399
/// ```
401
400
#[ inline]
402
401
#[ must_use]
403
- #[ unstable( feature = "ordering_helpers" , issue = "79885" ) ]
402
+ #[ rustc_const_stable( feature = "ordering_helpers" , since = "1.53.0" ) ]
403
+ #[ stable( feature = "ordering_helpers" , since = "1.53.0" ) ]
404
404
pub const fn is_gt ( self ) -> bool {
405
405
matches ! ( self , Greater )
406
406
}
@@ -410,7 +410,6 @@ impl Ordering {
410
410
/// # Examples
411
411
///
412
412
/// ```
413
- /// #![feature(ordering_helpers)]
414
413
/// use std::cmp::Ordering;
415
414
///
416
415
/// assert_eq!(Ordering::Less.is_le(), true);
@@ -419,7 +418,8 @@ impl Ordering {
419
418
/// ```
420
419
#[ inline]
421
420
#[ must_use]
422
- #[ unstable( feature = "ordering_helpers" , issue = "79885" ) ]
421
+ #[ rustc_const_stable( feature = "ordering_helpers" , since = "1.53.0" ) ]
422
+ #[ stable( feature = "ordering_helpers" , since = "1.53.0" ) ]
423
423
pub const fn is_le ( self ) -> bool {
424
424
!matches ! ( self , Greater )
425
425
}
@@ -429,7 +429,6 @@ impl Ordering {
429
429
/// # Examples
430
430
///
431
431
/// ```
432
- /// #![feature(ordering_helpers)]
433
432
/// use std::cmp::Ordering;
434
433
///
435
434
/// assert_eq!(Ordering::Less.is_ge(), false);
@@ -438,7 +437,8 @@ impl Ordering {
438
437
/// ```
439
438
#[ inline]
440
439
#[ must_use]
441
- #[ unstable( feature = "ordering_helpers" , issue = "79885" ) ]
440
+ #[ rustc_const_stable( feature = "ordering_helpers" , since = "1.53.0" ) ]
441
+ #[ stable( feature = "ordering_helpers" , since = "1.53.0" ) ]
442
442
pub const fn is_ge ( self ) -> bool {
443
443
!matches ! ( self , Less )
444
444
}
0 commit comments