From 0b49865f297b4299f832cb9ad31e0ebb88232261 Mon Sep 17 00:00:00 2001 From: Stephen Chung Date: Sun, 21 Feb 2021 14:41:20 +0800 Subject: [PATCH] Fix no_std build. --- src/fn_call.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fn_call.rs b/src/fn_call.rs index 13ee3102..2bede593 100644 --- a/src/fn_call.rs +++ b/src/fn_call.rs @@ -366,7 +366,7 @@ impl Engine { ) -> Result> { #[inline(always)] fn make_error( - name: String, + name: crate::stdlib::string::String, fn_def: &crate::ast::ScriptFnDef, state: &State, err: Box,