mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 12:27:13 +02:00
greatly reduce the number of warnings
This commit is contained in:
parent
1a4461cd3a
commit
9882b7fa57
4 changed files with 37 additions and 37 deletions
|
@ -88,7 +88,7 @@ impl BatchKind {
|
|||
}
|
||||
|
||||
/// Return true if you must stop.
|
||||
fn accumulate(mut self, id: TaskId, kind: Kind) -> ControlFlow<Self, Self> {
|
||||
fn accumulate(self, id: TaskId, kind: Kind) -> ControlFlow<Self, Self> {
|
||||
match (self, kind) {
|
||||
// We don't batch any of these operations
|
||||
(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue