Merge pull request #1851 from TheBlueMatt/2022-11-fix-broken-futures-----again
[rust-lightning] / lightning / src / ln / msgs.rs
index 4a0b58937ea46cf7624f15b4eaba6fb564d5accb..1478f8b6bfb8272795dcd06d8272db926876a959 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,
 }