From: Matt Corallo Date: Fri, 19 Feb 2021 18:55:15 +0000 (-0500) Subject: Add a no-bindings-map comment to `std::io::ErrorKind` in DecodeErr X-Git-Tag: v0.0.13~24^2~3 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=1d0645f7e603317fad65065fb0573facb45d4fd4;p=rust-lightning Add a no-bindings-map comment to `std::io::ErrorKind` in DecodeErr --- diff --git a/lightning/src/ln/msgs.rs b/lightning/src/ln/msgs.rs index 712158a97..2c3e7df71 100644 --- a/lightning/src/ln/msgs.rs +++ b/lightning/src/ln/msgs.rs @@ -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