makes clippy happy

This commit is contained in:
Tamo 2023-02-09 12:23:01 +01:00
parent eaad84bd1d
commit 746b31c1ce
No known key found for this signature in database
GPG Key ID: 20CD8020AFA88D69

View File

@ -345,9 +345,9 @@ impl<'a, 'i> Transform<'a, 'i> {
Entry::Occupied(entry) => {
let doc_id = *entry.get() as u32;
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
.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
// Either: