diff --git a/library/std/src/io/error.rs b/library/std/src/io/error.rs index ea10bb8636c..4eb0d92b38b 100644 --- a/library/std/src/io/error.rs +++ b/library/std/src/io/error.rs @@ -527,8 +527,6 @@ pub fn new(kind: ErrorKind, error: E) -> Error /// # Examples /// /// ``` - /// #![feature(io_error_other)] - /// /// use std::io::Error; /// /// // errors can be created from strings @@ -537,7 +535,7 @@ pub fn new(kind: ErrorKind, error: E) -> Error /// // errors can also be created from other errors /// let custom_error2 = Error::other(custom_error); /// ``` - #[unstable(feature = "io_error_other", issue = "91946")] + #[stable(feature = "io_error_other", since = "CURRENT_RUSTC_VERSION")] pub fn other(error: E) -> Error where E: Into>,