1
0
派生 0
镜像自地址 https://github.com/meilisearch/MeiliSearch 已同步 2025-07-15 13:58:36 +02:00

makes clippy happy

这个提交存在于:
Irevoire 2021-06-10 14:53:34 +02:00 提交者 mpostma
父节点 2d19b78dd8
当前提交 20e1caef47

查看文件

@ -9,8 +9,7 @@ use heed::{EnvOpenOptions, RoTxn};
use serde::{Deserialize, Serialize};
use uuid::Uuid;
use super::UpdateStore;
use super::{codec::UpdateKeyCodec, State};
use super::{State, UpdateStore};
use crate::index_controller::{
index_actor::IndexActorHandle, update_actor::store::update_uuid_to_file_path, Enqueued,
UpdateStatus,
@ -105,10 +104,7 @@ impl UpdateStore {
uuids: &HashSet<Uuid>,
mut file: &mut File,
) -> anyhow::Result<()> {
let updates = self
.updates
.iter(txn)?
.lazily_decode_data();
let updates = self.updates.iter(txn)?.lazily_decode_data();
for update in updates {
let ((uuid, _), data) = update?;