Clippy happy

This commit is contained in:
Louis Dureuil
2025-11-17 14:48:40 +01:00
parent a235434910
commit ddeff5678f

View File

@@ -516,7 +516,7 @@ async fn issue_5976_missing_docs_hf() {
let are_empty: Vec<_> = response["hits"] let are_empty: Vec<_> = response["hits"]
.as_array() .as_array()
.unwrap() .unwrap()
.into_iter() .iter()
.map(|hit| hit["_vectors"]["default"]["embeddings"].as_array().unwrap().is_empty()) .map(|hit| hit["_vectors"]["default"]["embeddings"].as_array().unwrap().is_empty())
.collect(); .collect();
snapshot!(json!(are_empty), @r###" snapshot!(json!(are_empty), @r###"