From 0887186ecfe39d8db946dd39969095772dba7f54 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