mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
Make cargo fmt happy
This commit is contained in:
parent
64477aac60
commit
a0bfcf8872
13 changed files with 29 additions and 38 deletions
|
@ -559,7 +559,8 @@ impl<'a, 't, 'i> Settings<'a, 't, 'i> {
|
|||
let fst = fst::Set::from_iter(stop_words.into_iter())?;
|
||||
|
||||
// Does the new FST differ from the previous one?
|
||||
if current.is_none_or(|current| current.as_fst().as_bytes() != fst.as_fst().as_bytes())
|
||||
if current
|
||||
.is_none_or(|current| current.as_fst().as_bytes() != fst.as_fst().as_bytes())
|
||||
{
|
||||
// we want to re-create our FST.
|
||||
self.index.put_stop_words(self.wtxn, &fst)?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue