mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-06-10 14:07:58 +00:00
Fix clippy warnings
This commit is contained in:
parent
3b773b3416
commit
89aff2081c
@ -28,14 +28,14 @@ impl IndexerConfig {
|
||||
|
||||
pub fn clone_no_threadpool(other: &IndexerConfig) -> Self {
|
||||
Self {
|
||||
log_every_n: other.log_every_n.clone(),
|
||||
max_nb_chunks: other.max_nb_chunks.clone(),
|
||||
documents_chunk_size: other.documents_chunk_size.clone(),
|
||||
max_memory: other.max_memory.clone(),
|
||||
chunk_compression_type: other.chunk_compression_type.clone(),
|
||||
chunk_compression_level: other.chunk_compression_level.clone(),
|
||||
max_positions_per_attributes: other.max_positions_per_attributes.clone(),
|
||||
skip_index_budget: other.skip_index_budget.clone(),
|
||||
log_every_n: other.log_every_n,
|
||||
max_nb_chunks: other.max_nb_chunks,
|
||||
documents_chunk_size: other.documents_chunk_size,
|
||||
max_memory: other.max_memory,
|
||||
chunk_compression_type: other.chunk_compression_type,
|
||||
chunk_compression_level: other.chunk_compression_level,
|
||||
max_positions_per_attributes: other.max_positions_per_attributes,
|
||||
skip_index_budget: other.skip_index_budget,
|
||||
thread_pool: None,
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user