mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-26 23:04:26 +01:00
makes clippy happy
This commit is contained in:
parent
eaad84bd1d
commit
746b31c1ce
@ -345,9 +345,9 @@ impl<'a, 'i> Transform<'a, 'i> {
|
|||||||
Entry::Occupied(entry) => {
|
Entry::Occupied(entry) => {
|
||||||
let doc_id = *entry.get() as u32;
|
let doc_id = *entry.get() as u32;
|
||||||
self.original_sorter
|
self.original_sorter
|
||||||
.insert(doc_id.to_be_bytes(), &[Operation::Deletion as u8])?;
|
.insert(doc_id.to_be_bytes(), [Operation::Deletion as u8])?;
|
||||||
self.flattened_sorter
|
self.flattened_sorter
|
||||||
.insert(doc_id.to_be_bytes(), &[Operation::Deletion as u8])?;
|
.insert(doc_id.to_be_bytes(), [Operation::Deletion as u8])?;
|
||||||
|
|
||||||
// we must NOT update the list of replaced_documents_ids
|
// we must NOT update the list of replaced_documents_ids
|
||||||
// Either:
|
// Either:
|
||||||
|
Loading…
Reference in New Issue
Block a user