projects
/
ldk-c-bindings
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Include `String` in the default import, since we use it now
[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 ad2690ce8a0ff99ac6695b18ac0607451f143ead..bca6aa5c02bdf0307043fe3ff1c6f9a755da3016 100644
(file)
--- a/
c-bindings-gen/src/main.rs
+++ b/
c-bindings-gen/src/main.rs
@@
-36,6
+36,7
@@
use blocks::*;
const DEFAULT_IMPORTS: &'static str = "
use alloc::str::FromStr;
+use alloc::string::String;
use core::ffi::c_void;
use core::convert::Infallible;
use bitcoin::hashes::Hash;