Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
jimexist committed Feb 20, 2024
1 parent 71d3c13 commit 2f66b77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ pub struct GGUFMetadataArrayValue {
}

/// serialize_array
fn serialize_array<S>(v: &Vec<GGUFMetadataValue>, s: S) -> Result<S::Ok, S::Error>
fn serialize_array<S>(v: &[GGUFMetadataValue], s: S) -> Result<S::Ok, S::Error>
where
S: serde::Serializer,
{
Expand Down

0 comments on commit 2f66b77

Please sign in to comment.