src/client/http_client.rs: avoid compiler warning

This commit is contained in:
Dietmar Maurer 2019-07-03 14:36:02 +02:00
parent 3467cd91e9
commit 4f6aaf542c

View File

@ -518,7 +518,7 @@ impl BackupReader {
self.h2.download(path, Some(param), output) self.h2.download(path, Some(param), output)
} }
pub fn force_close(mut self) { pub fn force_close(self) {
self.canceller.cancel(); self.canceller.cancel();
} }
} }