mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-05-07 12:40:04 +00:00
Apply clippy suggestions in binstall::install
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
6685d5a610
commit
3d28549fd6
1 changed files with 2 additions and 2 deletions
|
@ -30,8 +30,8 @@ pub async fn install(
|
|||
.await
|
||||
.map(|option| {
|
||||
option.map(|bins| MetaData {
|
||||
name: name.into(),
|
||||
version_req: version.into(),
|
||||
name,
|
||||
version_req: version,
|
||||
current_version,
|
||||
source: Source::cratesio_registry(),
|
||||
target,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue