fixup: fmt + clippy

This commit is contained in:
2024-05-04 00:06:22 +02:00
parent f1687fe07b
commit e044246cba
14 changed files with 49 additions and 33 deletions

View File

@@ -152,7 +152,7 @@ pub(crate) fn json_map_to_hashmap(
}
pub(crate) fn json_array_to_vec(array: &[Value]) -> Result<Vec<MpvDataType>, MpvError> {
array.iter().map(|entry| json_to_value(entry)).collect()
array.iter().map(json_to_value).collect()
}
pub(crate) fn json_array_to_playlist(array: &[Value]) -> Vec<PlaylistEntry> {