mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-29 16:45:30 +08:00
Fix clippy
This commit is contained in:
parent
3e94a90722
commit
f762307838
@ -43,10 +43,10 @@ pub fn extract_geo_points<R: io::Read + io::Seek>(
|
|||||||
|
|
||||||
// extract old version
|
// extract old version
|
||||||
let del_lat_lng =
|
let del_lat_lng =
|
||||||
extract_lat_lng(&obkv, &settings_diff.old, DelAdd::Deletion, &document_id)?;
|
extract_lat_lng(&obkv, &settings_diff.old, DelAdd::Deletion, document_id)?;
|
||||||
// extract new version
|
// extract new version
|
||||||
let add_lat_lng =
|
let add_lat_lng =
|
||||||
extract_lat_lng(&obkv, &settings_diff.new, DelAdd::Addition, &document_id)?;
|
extract_lat_lng(&obkv, &settings_diff.new, DelAdd::Addition, document_id)?;
|
||||||
|
|
||||||
if del_lat_lng != add_lat_lng {
|
if del_lat_lng != add_lat_lng {
|
||||||
let mut obkv = KvWriterDelAdd::memory();
|
let mut obkv = KvWriterDelAdd::memory();
|
||||||
|
Loading…
Reference in New Issue
Block a user