From 12362af6afc2d1472d4241031a1c66572d3427f2 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Tue, 26 Sep 2023 00:33:39 +0000 Subject: [PATCH] Include `String` in the default import, since we use it now --- c-bindings-gen/src/main.rs | 1 + 1 file changed, 1 insertion(+) 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; -- 2.30.2