From 9d5e3457e5309bd4056bb4fb9c2f4c859d5d17ce Mon Sep 17 00:00:00 2001 From: ManyTheFish Date: Thu, 27 Jul 2023 14:21:19 +0200 Subject: [PATCH] Fix clippy --- milli/src/update/settings.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/milli/src/update/settings.rs b/milli/src/update/settings.rs index 360fdb474..2ae5077f8 100644 --- a/milli/src/update/settings.rs +++ b/milli/src/update/settings.rs @@ -625,7 +625,7 @@ impl<'a, 't, 'u, 'i> Settings<'a, 't, 'u, 'i> { let old_synonyms = self.index.synonyms(self.wtxn)?; if new_synonyms != old_synonyms { - self.index.put_synonyms(self.wtxn, &new_synonyms, &user_synonyms)?; + self.index.put_synonyms(self.wtxn, &new_synonyms, user_synonyms)?; Ok(true) } else { Ok(false)