Skip to content

Commit 1d0645f

Browse files
committed
Add a no-bindings-map comment to std::io::ErrorKind in DecodeErr
1 parent 6c00254 commit 1d0645f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lightning/src/ln/msgs.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ pub enum DecodeError {
6161
/// A length descriptor in the packet didn't describe the later data correctly
6262
BadLengthDescriptor,
6363
/// Error from std::io
64-
Io(::std::io::ErrorKind),
64+
Io(/// (C-not exported) as ErrorKind doesn't have a reasonable mapping
65+
::std::io::ErrorKind),
6566
}
6667

6768
/// An init message to be sent or received from a peer

0 commit comments

Comments
 (0)