mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-05-07 12:40:04 +00:00
Simplify fetch_crate_cratesio
: Rm unused param temp_dir
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
e39549f470
commit
24b1941c1a
2 changed files with 2 additions and 3 deletions
|
@ -215,7 +215,7 @@ async fn entry() -> Result<()> {
|
|||
debug!("Reading manifest: {}", manifest_path.display());
|
||||
load_manifest_path(manifest_path.join("Cargo.toml"))?
|
||||
}
|
||||
None => fetch_crate_cratesio(&opts.name, &opts.version, temp_dir.path()).await?,
|
||||
None => fetch_crate_cratesio(&opts.name, &opts.version).await?,
|
||||
};
|
||||
|
||||
let package = manifest.package.unwrap();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue