Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3767e31 + 7abfc57 commit 24bece8Copy full SHA for 24bece8
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