projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c00254
)
Add a no-bindings-map comment to `std::io::ErrorKind` in DecodeErr
author
Matt Corallo
<git@bluematt.me>
Fri, 19 Feb 2021 18:55:15 +0000
(13:55 -0500)
committer
Matt Corallo
<git@bluematt.me>
Fri, 19 Feb 2021 19:02:46 +0000
(14:02 -0500)
lightning/src/ln/msgs.rs
patch
|
blob
|
history
diff --git
a/lightning/src/ln/msgs.rs
b/lightning/src/ln/msgs.rs
index 712158a97bc604a39ba173e714e8bbeafbfcd399..2c3e7df717bb09d744abbdf9da86893ed4159a28 100644
(file)
--- 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