@@ -334,7 +334,6 @@ impl Ordering {
334334 /// # Examples
335335 ///
336336 /// ```
337- /// #![feature(ordering_helpers)]
338337 /// use std::cmp::Ordering;
339338 ///
340339 /// assert_eq!(Ordering::Less.is_eq(), false);
@@ -343,7 +342,8 @@ impl Ordering {
343342 /// ```
344343 #[inline]
345344 #[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")]
347347 pub const fn is_eq(self) -> bool {
348348 matches!(self, Equal)
349349 }
@@ -353,7 +353,6 @@ impl Ordering {
353353 /// # Examples
354354 ///
355355 /// ```
356- /// #![feature(ordering_helpers)]
357356 /// use std::cmp::Ordering;
358357 ///
359358 /// assert_eq!(Ordering::Less.is_ne(), true);
@@ -362,7 +361,8 @@ impl Ordering {
362361 /// ```
363362 #[inline]
364363 #[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")]
366366 pub const fn is_ne(self) -> bool {
367367 !matches!(self, Equal)
368368 }
@@ -372,7 +372,6 @@ impl Ordering {
372372 /// # Examples
373373 ///
374374 /// ```
375- /// #![feature(ordering_helpers)]
376375 /// use std::cmp::Ordering;
377376 ///
378377 /// assert_eq!(Ordering::Less.is_lt(), true);
@@ -381,7 +380,8 @@ impl Ordering {
381380 /// ```
382381 #[inline]
383382 #[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")]
385385 pub const fn is_lt(self) -> bool {
386386 matches!(self, Less)
387387 }
@@ -391,7 +391,6 @@ impl Ordering {
391391 /// # Examples
392392 ///
393393 /// ```
394- /// #![feature(ordering_helpers)]
395394 /// use std::cmp::Ordering;
396395 ///
397396 /// assert_eq!(Ordering::Less.is_gt(), false);
@@ -400,7 +399,8 @@ impl Ordering {
400399 /// ```
401400 #[inline]
402401 #[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")]
404404 pub const fn is_gt(self) -> bool {
405405 matches!(self, Greater)
406406 }
@@ -410,7 +410,6 @@ impl Ordering {
410410 /// # Examples
411411 ///
412412 /// ```
413- /// #![feature(ordering_helpers)]
414413 /// use std::cmp::Ordering;
415414 ///
416415 /// assert_eq!(Ordering::Less.is_le(), true);
@@ -419,7 +418,8 @@ impl Ordering {
419418 /// ```
420419 #[inline]
421420 #[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")]
423423 pub const fn is_le(self) -> bool {
424424 !matches!(self, Greater)
425425 }
@@ -429,7 +429,6 @@ impl Ordering {
429429 /// # Examples
430430 ///
431431 /// ```
432- /// #![feature(ordering_helpers)]
433432 /// use std::cmp::Ordering;
434433 ///
435434 /// assert_eq!(Ordering::Less.is_ge(), false);
@@ -438,7 +437,8 @@ impl Ordering {
438437 /// ```
439438 #[inline]
440439 #[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")]
442442 pub const fn is_ge(self) -> bool {
443443 !matches!(self, Less)
444444 }
0 commit comments