Skip to content

Commit 962d096

Browse files
authored
Merge pull request #1807 from TheBlueMatt/2022-10-errorkind-bindings
Export io::ErrorKind in bindings
2 parents 2e343e7 + 2c69e05 commit 962d096

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lightning/src/ln/msgs.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,7 @@ pub enum DecodeError {
6666
/// A length descriptor in the packet didn't describe the later data correctly
6767
BadLengthDescriptor,
6868
/// Error from std::io
69-
Io(/// (C-not exported) as ErrorKind doesn't have a reasonable mapping
70-
io::ErrorKind),
69+
Io(io::ErrorKind),
7170
/// The message included zlib-compressed values, which we don't support.
7271
UnsupportedCompression,
7372
}

0 commit comments

Comments
 (0)