diff --git a/src/lib.rs b/src/lib.rs index 018d88a..0b9cd57 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -224,7 +224,7 @@ pub struct GGUFMetadataArrayValue { } /// serialize_array -fn serialize_array(v: &Vec, s: S) -> Result +fn serialize_array(v: &[GGUFMetadataValue], s: S) -> Result where S: serde::Serializer, {