mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-15 07:40:36 +08:00
Replace unit-returning-closure with drop()
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
committed by
Fintan Halpenny
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:?}");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user