mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-05-16 08:50:02 +00:00
Stop using borrows of reqwest::Client (#316)
This commit is contained in:
parent
1cf6076d62
commit
f5a682ccce
6 changed files with 11 additions and 11 deletions
crates/lib/src/helpers
|
@ -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}'");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue