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