src/client/http_client.rs: avoid compiler warning
This commit is contained in:
parent
3467cd91e9
commit
4f6aaf542c
@ -518,7 +518,7 @@ impl BackupReader {
|
||||
self.h2.download(path, Some(param), output)
|
||||
}
|
||||
|
||||
pub fn force_close(mut self) {
|
||||
pub fn force_close(self) {
|
||||
self.canceller.cancel();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user