mirror of
https://github.com/pesde-pkg/pesde.git
synced 2024-12-12 02:50:37 +00:00
style: run rustfmt
This commit is contained in:
parent
7b592bb719
commit
5ba8c5dbb4
1 changed files with 2 additions and 5 deletions
|
@ -129,9 +129,7 @@ impl Project {
|
|||
})
|
||||
.collect::<VecDeque<_>>();
|
||||
|
||||
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::<Vec<_>>()
|
||||
|
|
Loading…
Reference in a new issue