mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-06-26 04:26:37 +00:00
Cargo fmt cargo_crates_v1.rs
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
This commit is contained in:
parent
67f14cce76
commit
d29053b3e3
1 changed files with 3 additions and 3 deletions
|
@ -130,9 +130,9 @@ impl<'v1> CratesToml<'v1> {
|
|||
|
||||
c1.remove_all(&{
|
||||
let mut crate_names: Vec<_> = crates
|
||||
.iter()
|
||||
.map(|metadata| metadata.name.as_str())
|
||||
.collect();
|
||||
.iter()
|
||||
.map(|metadata| metadata.name.as_str())
|
||||
.collect();
|
||||
crate_names.sort_unstable();
|
||||
crate_names
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue