mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 03:47:02 +02:00
Make clippy happy
This commit is contained in:
parent
7b93ba40bd
commit
4f4fc20acf
3 changed files with 14 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue