Skip to content

Commit 41e26d9

Browse files
rami3lklensy
andcommitted
fix(download): fix build error with --no-default-features --features=curl-backend
Co-authored-by: klensy <klensy@users.noreply.github.com>
1 parent 01f6c43 commit 41e26d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

download/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ pub mod reqwest_be {
507507

508508
use super::{DownloadError, Event, TlsBackend};
509509

510-
pub fn download(
510+
pub async fn download(
511511
_url: &Url,
512512
_resume_from: u64,
513513
_callback: &dyn Fn(Event<'_>) -> Result<()>,

0 commit comments

Comments
 (0)