projects
/
ldk-c-bindings
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Map core::convert::Infallible to a similar manually-defined struct
[ldk-c-bindings]
/
c-bindings-gen
/
src
/
main.rs
diff --git
a/c-bindings-gen/src/main.rs
b/c-bindings-gen/src/main.rs
index 1572b313582db2e2275b23b99ca3ba77a900b3cb..38704b2c8d99220c42b0622b5326e244f53b84e5 100644
(file)
--- a/
c-bindings-gen/src/main.rs
+++ b/
c-bindings-gen/src/main.rs
@@
-33,7
+33,7
@@
mod blocks;
use types::*;
use blocks::*;
use types::*;
use blocks::*;
-const DEFAULT_IMPORTS: &'static str = "\nuse std::str::FromStr;\nuse std::ffi::c_void;\nuse bitcoin::hashes::Hash;\nuse crate::c_types::*;\n";
+const DEFAULT_IMPORTS: &'static str = "\nuse std::str::FromStr;\nuse std::ffi::c_void;\nuse
core::convert::Infallible;\nuse
bitcoin::hashes::Hash;\nuse crate::c_types::*;\n";
// *************************************
// *** Manually-expanded conversions ***
// *************************************
// *** Manually-expanded conversions ***