Skip to content

Commit b84a7cb

Browse files
committed
Remove map_err that isn't needed anymore
1 parent 546f57e commit b84a7cb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/api/downloader.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@ async fn handle_download_split_impl(
143143
let (tx, rx) = tokio::sync::mpsc::channel::<(usize, DownloadProgessItem)>(16);
144144
progress_tx.send(rx).await.ok();
145145
let sink = TokioMpscSenderSink(tx)
146-
.with_map_err(|_| irpc::channel::SendError::ReceiverClosed)
147146
.with_map(move |x| (id, x));
148147
let res = execute_get(&pool, Arc::new(request), &providers, &store, sink).await;
149148
(hash, res)

0 commit comments

Comments
 (0)