Apply suggestions from code review

Co-authored-by: Tamo <tamo@meilisearch.com>
This commit is contained in:
Loïc Lecrenier 2022-10-11 09:53:08 +02:00 committed by Clément Renault
parent ccfe1babdc
commit 5914889a29
No known key found for this signature in database
GPG key ID: 92ADA4E935E71FA4
2 changed files with 2 additions and 1 deletions

View file

@ -442,7 +442,7 @@ impl IndexScheduler {
match batch {
Batch::Cancel(_) => todo!(),
Batch::DeleteTasks(mut task) => {
// 1. Retrieve the tasks that matched the quety at enqueue-time
// 1. Retrieve the tasks that matched the query at enqueue-time.
let matched_tasks =
if let KindWithContent::DeleteTasks { tasks, query: _ } = &task.kind {
tasks