Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
Replace unit-returning-closure with drop()
✗ CI failure Matthias Beyer committed 8 months ago
commit a48d5a826671776da42b96f66a05ac1339e39293
parent 46710f48830f9751817e1790da60a44293faadf5
2 passed 1 failed (3 total) View logs
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:?}");