mirror of
https://github.com/deps-rs/deps.rs.git
synced 2024-11-26 03:56:30 +00:00
remove unecessary into_iter/collect
Co-authored-by: Eduardo Pinho <enet4mikeenet@gmail.com>
This commit is contained in:
parent
4642560868
commit
45f114b3f6
1 changed files with 1 additions and 1 deletions
|
@ -224,7 +224,7 @@ impl Engine {
|
||||||
let analyzed_deps =
|
let analyzed_deps =
|
||||||
analyze_dependencies(engine.clone(), release.deps.clone()).await?;
|
analyze_dependencies(engine.clone(), release.deps.clone()).await?;
|
||||||
|
|
||||||
let crates = vec![(crate_path.name, analyzed_deps)].into_iter().collect();
|
let crates = vec![(crate_path.name, analyzed_deps)];
|
||||||
let duration = start.elapsed();
|
let duration = start.elapsed();
|
||||||
|
|
||||||
Ok(AnalyzeDependenciesOutcome { crates, duration })
|
Ok(AnalyzeDependenciesOutcome { crates, duration })
|
||||||
|
|
Loading…
Reference in a new issue