From a990473cf9ec0f568e5b23927c7023e607b7d162 Mon Sep 17 00:00:00 2001 From: yjh Date: Sat, 30 Apr 2022 14:11:15 +0800 Subject: [PATCH] import Vec when run on no_std for wasmi (#11319) * import Vec when run on no_std for wasmi * cargo fmt --- substrate/primitives/wasm-interface/src/wasmi_impl.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/substrate/primitives/wasm-interface/src/wasmi_impl.rs b/substrate/primitives/wasm-interface/src/wasmi_impl.rs index 39afce4df4..2239eb5f38 100644 --- a/substrate/primitives/wasm-interface/src/wasmi_impl.rs +++ b/substrate/primitives/wasm-interface/src/wasmi_impl.rs @@ -16,8 +16,8 @@ // limitations under the License. //! Implementation of conversions between Substrate and wasmi types. - use crate::{Signature, Value, ValueType}; +use sp_std::vec::Vec; impl From for wasmi::RuntimeValue { fn from(value: Value) -> Self {