make clippy happy

This commit is contained in:
Tamo 2024-01-17 16:07:10 +01:00
parent 7d190d8078
commit 0887186ecf
No known key found for this signature in database
GPG Key ID: 20CD8020AFA88D69

View File

@ -37,7 +37,7 @@ pub fn extract_geo_points<R: io::Read + io::Seek>(
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