Fix clippy

This commit is contained in:
ManyTheFish 2023-07-27 14:21:19 +02:00
parent 04694071fe
commit 9d5e3457e5

View File

@ -625,7 +625,7 @@ impl<'a, 't, 'u, 'i> Settings<'a, 't, 'u, 'i> {
let old_synonyms = self.index.synonyms(self.wtxn)?; let old_synonyms = self.index.synonyms(self.wtxn)?;
if new_synonyms != old_synonyms { 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) Ok(true)
} else { } else {
Ok(false) Ok(false)