mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 20:07:09 +02:00
makes clippy and fmt happy
This commit is contained in:
parent
d92c173fdc
commit
376b3a19a7
3 changed files with 6 additions and 5 deletions
|
@ -656,7 +656,7 @@ pub(crate) fn write_typed_chunk_into_index(
|
|||
// typed chunks has always at least 1 chunk.
|
||||
let Some((expected_dimension, embedder_name)) = params else { unreachable!() };
|
||||
|
||||
let mut embedding_configs = index.embedding_configs(&wtxn)?;
|
||||
let mut embedding_configs = index.embedding_configs(wtxn)?;
|
||||
let index_embedder_config = embedding_configs
|
||||
.iter_mut()
|
||||
.find(|IndexEmbeddingConfig { name, .. }| name == &embedder_name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue