We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
io_error_other
1 parent 361f8ba commit 7abfc57Copy full SHA for 7abfc57
library/std/src/io/error.rs
@@ -527,8 +527,6 @@ impl Error {
527
/// # Examples
528
///
529
/// ```
530
- /// #![feature(io_error_other)]
531
- ///
532
/// use std::io::Error;
533
534
/// // errors can be created from strings
@@ -537,7 +535,7 @@ impl Error {
537
535
/// // errors can also be created from other errors
538
536
/// let custom_error2 = Error::other(custom_error);
539
540
- #[unstable(feature = "io_error_other", issue = "91946")]
+ #[stable(feature = "io_error_other", since = "CURRENT_RUSTC_VERSION")]
541
pub fn other<E>(error: E) -> Error
542
where
543
E: Into<Box<dyn error::Error + Send + Sync>>,
0 commit comments