summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index f71965b..3373ed8 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -233,7 +233,7 @@ where
panic_tx.send(()).ok(); // avoid nested panic
});
for (i, item) in in_rx.into_iter() {
- out_tx.send((i, (f)(item))).unwrap();
+ out_tx.send((i, (f)(item))).ok(); // fails iff. ParallelMap was dropped
}
});
}
Generated by cgit. See skreutz.com for my tech blog and contact information.