diff options
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 } }); } |