greatly reduce the number of warnings

This commit is contained in:
Tamo 2022-09-14 13:13:44 +02:00 committed by Clément Renault
parent 1a4461cd3a
commit 9882b7fa57
No known key found for this signature in database
GPG key ID: 92ADA4E935E71FA4
4 changed files with 37 additions and 37 deletions

View file

@ -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
(