@@ -545,8 +545,6 @@ impl<T, E> Result<T, E> {
545545 /// # Examples
546546 ///
547547 /// ```
548- /// #![feature(is_some_and)]
549- ///
550548 /// let x: Result<u32, &str> = Ok(2);
551549 /// assert_eq!(x.is_ok_and(|x| x > 1), true);
552550 ///
@@ -558,7 +556,7 @@ impl<T, E> Result<T, E> {
558556 /// ```
559557 #[ must_use]
560558 #[ inline]
561- #[ unstable ( feature = "is_some_and" , issue = "93050 " ) ]
559+ #[ stable ( feature = "is_some_and" , since = "CURRENT_RUSTC_VERSION " ) ]
562560 pub fn is_ok_and ( self , f : impl FnOnce ( T ) -> bool ) -> bool {
563561 match self {
564562 Err ( _) => false ,
@@ -590,7 +588,6 @@ impl<T, E> Result<T, E> {
590588 /// # Examples
591589 ///
592590 /// ```
593- /// #![feature(is_some_and)]
594591 /// use std::io::{Error, ErrorKind};
595592 ///
596593 /// let x: Result<u32, Error> = Err(Error::new(ErrorKind::NotFound, "!"));
@@ -604,7 +601,7 @@ impl<T, E> Result<T, E> {
604601 /// ```
605602 #[ must_use]
606603 #[ inline]
607- #[ unstable ( feature = "is_some_and" , issue = "93050 " ) ]
604+ #[ stable ( feature = "is_some_and" , since = "CURRENT_RUSTC_VERSION " ) ]
608605 pub fn is_err_and ( self , f : impl FnOnce ( E ) -> bool ) -> bool {
609606 match self {
610607 Ok ( _) => false ,
0 commit comments