Remove useless clone

This commit is contained in:
Mubelotix 2025-06-26 12:14:56 +02:00
parent 0f6dd133b2
commit 2ff382c023
No known key found for this signature in database
GPG Key ID: 0406DF6C3A69B942
2 changed files with 2 additions and 2 deletions

View File

@ -478,7 +478,7 @@ impl IndexScheduler {
.execute( .execute(
|indexing_step| tracing::debug!(update = ?indexing_step), |indexing_step| tracing::debug!(update = ?indexing_step),
|| must_stop_processing.get(), || must_stop_processing.get(),
embedder_stats.clone(), embedder_stats,
) )
.map_err(|err| Error::from_milli(err, Some(index_uid.clone())))?; .map_err(|err| Error::from_milli(err, Some(index_uid.clone())))?;

View File

@ -507,7 +507,7 @@ impl<'a, 't, 'i> Settings<'a, 't, 'i> {
IndexDocumentsConfig::default(), IndexDocumentsConfig::default(),
&progress_callback, &progress_callback,
&should_abort, &should_abort,
&embedder_stats, embedder_stats,
)?; )?;
indexing_builder.execute_raw(output)?; indexing_builder.execute_raw(output)?;