Skip to content

Commit f82103f

Browse files
committed
download: Fix up snafu when reqwest backend is disabled
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
1 parent 0722f87 commit f82103f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

download/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,13 +433,15 @@ pub mod curl {
433433
pub mod reqwest_be {
434434

435435
use super::Event;
436+
use super::TlsBackend;
436437
use crate::errors::*;
437438
use url::Url;
438439

439440
pub fn download(
440441
_url: &Url,
441442
_resume_from: u64,
442443
_callback: &dyn Fn(Event<'_>) -> Result<()>,
444+
_tls: TlsBackend,
443445
) -> Result<()> {
444446
Err(ErrorKind::BackendUnavailable("reqwest").into())
445447
}

0 commit comments

Comments
 (0)