style: run rustfmt

This commit is contained in:
daimond113 2024-12-04 15:35:28 +01:00
parent 7b592bb719
commit 5ba8c5dbb4
No known key found for this signature in database
GPG key ID: 3A8ECE51328B513C

View file

@ -129,9 +129,7 @@ impl Project {
}) })
.collect::<VecDeque<_>>(); .collect::<VecDeque<_>>();
while let Some((specifier, ty, dependant, path, overridden, target)) = while let Some((specifier, ty, dependant, path, overridden, target)) = queue.pop_front() {
queue.pop_front()
{
let alias = path.last().unwrap().clone(); let alias = path.last().unwrap().clone();
let depth = path.len() - 1; let depth = path.len() - 1;
@ -323,8 +321,7 @@ impl Project {
log::debug!( log::debug!(
"{}overridden specifier found for {} ({dependency_spec})", "{}overridden specifier found for {} ({dependency_spec})",
"\t".repeat(depth), "\t".repeat(depth),
path path.iter()
.iter()
.map(|s| s.as_str()) .map(|s| s.as_str())
.chain(std::iter::once(dependency_alias.as_str())) .chain(std::iter::once(dependency_alias.as_str()))
.collect::<Vec<_>>() .collect::<Vec<_>>()