Replace unit-returning-closure with drop()

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
Matthias Beyer 2025-08-19 08:57:48 +02:00 committed by Fintan Halpenny
parent cb7c748c66
commit 77f63c76df
1 changed files with 1 additions and 1 deletions

View File

@ -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:?}");