Make clippy happy

This commit is contained in:
Loïc Lecrenier 2022-10-27 13:00:30 +02:00
parent 7b93ba40bd
commit 4f4fc20acf
3 changed files with 14 additions and 12 deletions

View file

@ -855,9 +855,9 @@ impl IndexScheduler {
}
// 2. Get the task set for index = name that appeared before the index swap task
let mut index_lhs_task_ids = self.index_tasks(&wtxn, lhs)?;
let mut index_lhs_task_ids = self.index_tasks(wtxn, lhs)?;
index_lhs_task_ids.remove_range(task_id..);
let mut index_rhs_task_ids = self.index_tasks(&wtxn, rhs)?;
let mut index_rhs_task_ids = self.index_tasks(wtxn, rhs)?;
index_rhs_task_ids.remove_range(task_id..);
// 3. before_name -> new_name in the task's KindWithContent