Stop using borrows of reqwest::Client (#316)

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

View file

@ -22,7 +22,7 @@ use visitor::ManifestVisitor;
/// Fetch a crate Cargo.toml by name and version from crates.io
pub async fn fetch_crate_cratesio(
client: &Client,
client: Client,
crates_io_api_client: &AsyncClient,
name: &str,
version_req: &VersionReq,