mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-05-07 20:50:03 +00:00
Clippy suggestions
This commit is contained in:
parent
13a8e1e5fe
commit
ac74da4a27
6 changed files with 17 additions and 25 deletions
|
@ -191,9 +191,8 @@ async fn entry() -> Result<()> {
|
|||
package
|
||||
.metadata
|
||||
.as_ref()
|
||||
.map(|m| m.binstall.clone())
|
||||
.flatten()
|
||||
.unwrap_or(PkgMeta::default()),
|
||||
.and_then(|m| m.binstall.clone())
|
||||
.unwrap_or_default(),
|
||||
manifest.bin,
|
||||
);
|
||||
|
||||
|
@ -254,6 +253,7 @@ async fn entry() -> Result<()> {
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
async fn install_from_package(
|
||||
binaries: Vec<Product>,
|
||||
fetcher: &dyn Fetcher,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue