mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-01-23 19:57:30 +01:00
makes clippy happy
This commit is contained in:
parent
2d19b78dd8
commit
20e1caef47
@ -9,8 +9,7 @@ use heed::{EnvOpenOptions, RoTxn};
|
|||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
use uuid::Uuid;
|
use uuid::Uuid;
|
||||||
|
|
||||||
use super::UpdateStore;
|
use super::{State, UpdateStore};
|
||||||
use super::{codec::UpdateKeyCodec, State};
|
|
||||||
use crate::index_controller::{
|
use crate::index_controller::{
|
||||||
index_actor::IndexActorHandle, update_actor::store::update_uuid_to_file_path, Enqueued,
|
index_actor::IndexActorHandle, update_actor::store::update_uuid_to_file_path, Enqueued,
|
||||||
UpdateStatus,
|
UpdateStatus,
|
||||||
@ -105,10 +104,7 @@ impl UpdateStore {
|
|||||||
uuids: &HashSet<Uuid>,
|
uuids: &HashSet<Uuid>,
|
||||||
mut file: &mut File,
|
mut file: &mut File,
|
||||||
) -> anyhow::Result<()> {
|
) -> anyhow::Result<()> {
|
||||||
let updates = self
|
let updates = self.updates.iter(txn)?.lazily_decode_data();
|
||||||
.updates
|
|
||||||
.iter(txn)?
|
|
||||||
.lazily_decode_data();
|
|
||||||
|
|
||||||
for update in updates {
|
for update in updates {
|
||||||
let ((uuid, _), data) = update?;
|
let ((uuid, _), data) = update?;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user