From: Matt Corallo Date: Tue, 26 Sep 2023 00:33:39 +0000 (+0000) Subject: Include `String` in the default import, since we use it now X-Git-Tag: v0.0.117.0^2~17 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=12362af6afc2d1472d4241031a1c66572d3427f2;p=ldk-c-bindings Include `String` in the default import, since we use it now --- diff --git a/c-bindings-gen/src/main.rs b/c-bindings-gen/src/main.rs index ad2690c..bca6aa5 100644 --- 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;