Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
Replace unit-returning-closure with drop()
Matthias Beyer committed 9 months ago
commit 4f80e2665df505a8122ad1c05db612e9e22c2ab3
parent 4e35a9713fbf0780521cf6b44401eafe2014b378
1 file changed +1 -1
modified crates/radicle-node/src/worker.rs
@@ -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:?}");