Merge pull request #1807 from TheBlueMatt/2022-10-errorkind-bindings
[rust-lightning] / lightning / src / ln / msgs.rs
index 5833933951100a461b4ba6d38b0aa1ed25758111..8b5a6ac6fd24e32f4ba2dcc25c3715eb86531b30 100644 (file)
@@ -66,8 +66,7 @@ pub enum DecodeError {
        /// A length descriptor in the packet didn't describe the later data correctly
        BadLengthDescriptor,
        /// Error from std::io
-       Io(/// (C-not exported) as ErrorKind doesn't have a reasonable mapping
-        io::ErrorKind),
+       Io(io::ErrorKind),
        /// The message included zlib-compressed values, which we don't support.
        UnsupportedCompression,
 }