Add a no-bindings-map comment to std::io::ErrorKind in DecodeErr

This commit is contained in:
Matt Corallo 2021-02-19 13:55:15 -05:00
parent 6c0025439e
commit 1d0645f7e6

View 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