From 1d0645f7e603317fad65065fb0573facb45d4fd4 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Fri, 19 Feb 2021 13:55:15 -0500 Subject: [PATCH] Add a no-bindings-map comment to `std::io::ErrorKind` in DecodeErr --- lightning/src/ln/msgs.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.5