diff --git a/lib/src/fnc/array.rs b/lib/src/fnc/array.rs index 67551e5c..0cf07543 100644 --- a/lib/src/fnc/array.rs +++ b/lib/src/fnc/array.rs @@ -98,7 +98,7 @@ pub fn intersect((array, other): (Array, Array)) -> Result { } pub fn join((arr, sep): (Array, String)) -> Result { - Ok(arr.into_iter().map(|s| s.to_raw_string()).collect::>().join(&sep).into()) + Ok(arr.into_iter().map(Value::as_raw_string).collect::>().join(&sep).into()) } pub fn len((array,): (Array,)) -> Result {