We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c6b302 commit 7b53f69Copy full SHA for 7b53f69
library/std/src/io/error.rs
@@ -869,8 +869,6 @@ impl Error {
869
/// # Examples
870
///
871
/// ```
872
- /// #![feature(io_error_downcast)]
873
- ///
874
/// use std::fmt;
875
/// use std::io;
876
/// use std::error::Error;
@@ -923,7 +921,7 @@ impl Error {
923
921
/// assert!(io_error.raw_os_error().is_none());
924
922
/// # }
925
926
- #[unstable(feature = "io_error_downcast", issue = "99262")]
+ #[stable(feature = "io_error_downcast", since = "CURRENT_RUSTC_VERSION")]
927
pub fn downcast<E>(self) -> result::Result<E, Self>
928
where
929
E: error::Error + Send + Sync + 'static,
0 commit comments