From 5ba8c5dbb488f4499a0d970f269cf88df70ca5c7 Mon Sep 17 00:00:00 2001 From: daimond113 <72147841+daimond113@users.noreply.github.com> Date: Wed, 4 Dec 2024 15:35:28 +0100 Subject: [PATCH] style: run rustfmt --- src/resolver.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/resolver.rs b/src/resolver.rs index 6a67c57..e2012cb 100644 --- a/src/resolver.rs +++ b/src/resolver.rs @@ -129,9 +129,7 @@ impl Project { }) .collect::>(); - while let Some((specifier, ty, dependant, path, overridden, target)) = - queue.pop_front() - { + while let Some((specifier, ty, dependant, path, overridden, target)) = queue.pop_front() { let alias = path.last().unwrap().clone(); let depth = path.len() - 1; @@ -323,8 +321,7 @@ impl Project { log::debug!( "{}overridden specifier found for {} ({dependency_spec})", "\t".repeat(depth), - path - .iter() + path.iter() .map(|s| s.as_str()) .chain(std::iter::once(dependency_alias.as_str())) .collect::>()