Replace unit-returning-closure with drop()
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
parent
cb7c748c66
commit
77f63c76df
|
|
@ -169,7 +169,7 @@ impl Worker {
|
|||
stream_w,
|
||||
timeout,
|
||||
)
|
||||
.map(|_| ())
|
||||
.map(drop)
|
||||
.map_err(UploadError::UploadPack);
|
||||
log::debug!(target: "worker", "Upload process on stream {stream} exited with result {result:?}");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue