Fix no-std build.
This commit is contained in:
parent
f4e4958973
commit
91b4f8a6bc
@ -13,7 +13,7 @@ use crate::parser::FLOAT;
|
|||||||
#[cfg(not(feature = "no_float"))]
|
#[cfg(not(feature = "no_float"))]
|
||||||
use num_traits::float::Float;
|
use num_traits::float::Float;
|
||||||
|
|
||||||
use crate::stdlib::format;
|
use crate::stdlib::{format, string::String};
|
||||||
|
|
||||||
#[inline(always)]
|
#[inline(always)]
|
||||||
pub fn make_err(msg: String) -> Box<EvalAltResult> {
|
pub fn make_err(msg: String) -> Box<EvalAltResult> {
|
||||||
|
Loading…
Reference in New Issue
Block a user