mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-26 12:05:05 +08:00
make clippy happy
This commit is contained in:
parent
318843aacd
commit
9f8f3105d5
@ -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 reader = KvReaderDelAdd::new(obkv.get(primary_key_id).unwrap());
|
||||||
let document_id =
|
let document_id =
|
||||||
reader.get(DelAdd::Deletion).or(reader.get(DelAdd::Addition)).unwrap();
|
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
|
// first we get the two fields
|
||||||
|
Loading…
Reference in New Issue
Block a user