remove unecessary into_iter/collect

Co-authored-by: Eduardo Pinho <enet4mikeenet@gmail.com>
This commit is contained in:
Rob Ede 2020-10-01 15:30:19 +01:00 committed by GitHub
parent 4642560868
commit 45f114b3f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -224,7 +224,7 @@ impl Engine {
let analyzed_deps =
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();
Ok(AnalyzeDependenciesOutcome { crates, duration })