From 9f8f3105d540603884986137c683f04b5cf1d28b Mon Sep 17 00:00:00 2001 From: Tamo Date: Wed, 17 Jan 2024 16:07:10 +0100 Subject: [PATCH] make clippy happy --- milli/src/update/index_documents/extract/extract_geo_points.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/milli/src/update/index_documents/extract/extract_geo_points.rs b/milli/src/update/index_documents/extract/extract_geo_points.rs index d46b7ac37..b3600e3bc 100644 --- a/milli/src/update/index_documents/extract/extract_geo_points.rs +++ b/milli/src/update/index_documents/extract/extract_geo_points.rs @@ -37,7 +37,7 @@ pub fn extract_geo_points( let reader = KvReaderDelAdd::new(obkv.get(primary_key_id).unwrap()); let document_id = reader.get(DelAdd::Deletion).or(reader.get(DelAdd::Addition)).unwrap(); - serde_json::from_slice(&document_id).unwrap() + serde_json::from_slice(document_id).unwrap() }; // first we get the two fields