fix warning

This commit is contained in:
Tamo 2025-01-21 17:07:44 +01:00 committed by Louis Dureuil
parent c6b4c21c23
commit 7d95950ce6
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -106,7 +106,7 @@ impl IndexScheduler {
progress.update_progress(DumpCreationProgress::DumpTheIndexes);
let nb_indexes = self.index_mapper.index_mapping.len(&rtxn)? as u32;
let mut count = 0;
self.index_mapper.try_for_each_index(&rtxn, |uid, index| -> Result<()> {
let () = self.index_mapper.try_for_each_index(&rtxn, |uid, index| -> Result<()> {
progress.update_progress(VariableNameStep::<DumpCreationProgress>::new(
uid.to_string(),
count,

View File

@ -11,7 +11,7 @@ use roaring::RoaringBitmap;
use crate::insta_snapshot::snapshot_index_scheduler;
use crate::test_utils::Breakpoint::*;
use crate::test_utils::{index_creation_task, read_json, Breakpoint, FailureLocation};
use crate::test_utils::{index_creation_task, read_json, FailureLocation};
use crate::IndexScheduler;
#[test]