Stop using borrows of reqwest::Client ()

This commit is contained in:
Félix Saparelli 2022-09-04 23:00:33 +12:00 committed by GitHub
parent 1cf6076d62
commit f5a682ccce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 11 additions and 11 deletions
crates/lib/src/helpers

View file

@ -56,7 +56,7 @@ pub async fn get_redirected_final_url(client: &Client, url: Url) -> Result<Url,
}
pub(crate) async fn create_request(
client: &Client,
client: Client,
url: Url,
) -> Result<impl Stream<Item = reqwest::Result<Bytes>>, BinstallError> {
debug!("Downloading from: '{url}'");