Merge pull request #801 from TheBlueMatt/2021-02-789-bindings
[rust-lightning] / lightning / src / ln / msgs.rs
index 712158a97bc604a39ba173e714e8bbeafbfcd399..2c3e7df717bb09d744abbdf9da86893ed4159a28 100644 (file)
@@ -61,7 +61,8 @@ pub enum DecodeError {
        /// A length descriptor in the packet didn't describe the later data correctly
        BadLengthDescriptor,
        /// Error from std::io
-       Io(::std::io::ErrorKind),
+       Io(/// (C-not exported) as ErrorKind doesn't have a reasonable mapping
+        ::std::io::ErrorKind),
 }
 
 /// An init message to be sent or received from a peer