Skip to content

Commit 414df64

Browse files
fixup
1 parent 77012ee commit 414df64

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/downloader.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -796,9 +796,9 @@ impl<G: Getter<Connection = D::Connection>, D: Dialer> Service<G, D> {
796796
if let Some(sender) = handlers.on_progress {
797797
self.progress_tracker.unsubscribe(&kind, &sender);
798798
sender
799-
.send(DownloadProgress::Abort(
800-
serde_error::Error::new(&*anyhow::Error::from(DownloadError::Cancelled)),
801-
))
799+
.send(DownloadProgress::Abort(serde_error::Error::new(
800+
&*anyhow::Error::from(DownloadError::Cancelled),
801+
)))
802802
.await
803803
.ok();
804804
}

0 commit comments

Comments
 (0)