Make clippy happy

This commit is contained in:
Clément Renault 2024-06-20 13:02:44 +02:00
parent 6fa4da8ae7
commit 9736e16a88
No known key found for this signature in database
GPG Key ID: F250A4C4E3AE5F5F

View File

@ -290,7 +290,7 @@ pub fn extract_vector_points<R: io::Read + io::Seek>(
regenerate_if_prompt_changed( regenerate_if_prompt_changed(
obkv, obkv,
(old_prompt, prompt), (old_prompt, prompt),
(&old_fields_ids_map, &new_fields_ids_map), (old_fields_ids_map, new_fields_ids_map),
)? )?
} else { } else {
// we can simply ignore user provided vectors as they are not regenerated and are // we can simply ignore user provided vectors as they are not regenerated and are
@ -306,7 +306,7 @@ pub fn extract_vector_points<R: io::Read + io::Seek>(
prompt, prompt,
(add_to_user_provided, remove_from_user_provided), (add_to_user_provided, remove_from_user_provided),
(old, new), (old, new),
(&old_fields_ids_map, &new_fields_ids_map), (old_fields_ids_map, new_fields_ids_map),
document_id, document_id,
)?, )?,
}; };