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.
1 parent bf030d3 commit 877ac08Copy full SHA for 877ac08
src/network/mod.rs
@@ -69,13 +69,6 @@ impl fmt::Display for Error {
69
}
70
71
72
-#[doc(hidden)]
73
-impl From<io::Error> for Error {
74
- fn from(err: io::Error) -> Self {
75
- Error::Io(err)
76
- }
77
-}
78
-
79
#[cfg(feature = "std")]
80
#[cfg_attr(docsrs, doc(cfg(feature = "std")))]
81
impl std::error::Error for Error {
@@ -88,3 +81,10 @@ impl std::error::Error for Error {
88
89
82
90
83
84
+
85
+#[doc(hidden)]
86
+impl From<io::Error> for Error {
87
+ fn from(err: io::Error) -> Self {
+ Error::Io(err)
+ }
+}
0 commit comments