]> git.bitcoin.ninja Git - ldk-c-bindings/commitdiff
Include `String` in the default import, since we use it now
authorMatt Corallo <git@bluematt.me>
Tue, 26 Sep 2023 00:33:39 +0000 (00:33 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 26 Sep 2023 00:33:39 +0000 (00:33 +0000)
c-bindings-gen/src/main.rs

index ad2690ce8a0ff99ac6695b18ac0607451f143ead..bca6aa5c02bdf0307043fe3ff1c6f9a755da3016 100644 (file)
@@ -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;