diff --git a/meilisearch-core/src/update/settings_update.rs b/meilisearch-core/src/update/settings_update.rs index 7bb84c866..e96d5702c 100644 --- a/meilisearch-core/src/update/settings_update.rs +++ b/meilisearch-core/src/update/settings_update.rs @@ -296,7 +296,7 @@ pub fn apply_synonyms_update( fn normalize>(analyzer: &Analyzer, text: &str) -> String { analyzer.analyze(&text) .tokens() - .fold(String::new(), |mut s, t| s + t.text()) + .fold(String::new(), |s, t| s + t.text()) } let mut synonyms_builder = SetBuilder::memory();