Fix clippy

This commit is contained in:
ManyTheFish 2024-05-21 13:44:20 +02:00
parent 3e94a90722
commit f762307838

View File

@ -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();