From 48980af27cd7d6dbf38793ef8878c1b18c9432af Mon Sep 17 00:00:00 2001 From: DaniPopes <57450786+DaniPopes@users.noreply.github.com> Date: Wed, 23 Aug 2023 23:58:16 +0200 Subject: [PATCH] chore --- crates/dyn-abi/src/error.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/dyn-abi/src/error.rs b/crates/dyn-abi/src/error.rs index bdb70eb5a3..6e46c19244 100644 --- a/crates/dyn-abi/src/error.rs +++ b/crates/dyn-abi/src/error.rs @@ -112,6 +112,8 @@ impl Error { #[cfg(feature = "eip712")] pub(crate) fn type_mismatch(expected: &crate::DynSolType, actual: &serde_json::Value) -> Self { + #[allow(unused_imports)] + use alloc::string::ToString; Self::TypeMismatch { expected: expected.sol_type_name().into_owned(), actual: actual.to_string(),