From 45f114b3f671d5ab3bce84ab96f8fe33abeeba2f Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Thu, 1 Oct 2020 15:30:19 +0100 Subject: [PATCH] remove unecessary into_iter/collect Co-authored-by: Eduardo Pinho --- src/engine/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/mod.rs b/src/engine/mod.rs index 399180a..380507a 100644 --- a/src/engine/mod.rs +++ b/src/engine/mod.rs @@ -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 })