diff --git a/src/packages/string_basic.rs b/src/packages/string_basic.rs index 288fc115..d6f57c02 100644 --- a/src/packages/string_basic.rs +++ b/src/packages/string_basic.rs @@ -126,12 +126,12 @@ gen_functions!(print_array => to_debug(Array)); #[export_fn] #[inline(always)] fn print_empty_string() -> ImmutableString { - String::new().into() + "".to_string().into() } #[export_fn] #[inline(always)] fn print_unit(_x: ()) -> ImmutableString { - String::new().into() + "".to_string().into() } #[export_fn] #[inline(always)]