From 940f83698cfaa46fdbe5a18d7b5f28bfdf268f80 Mon Sep 17 00:00:00 2001 From: Many Date: Mon, 1 Feb 2021 12:06:48 +0100 Subject: [PATCH] Update meilisearch-core/src/update/settings_update.rs Co-authored-by: marin --- meilisearch-core/src/update/settings_update.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();