diff --git a/crates/uv-resolver/src/lock/tree.rs b/crates/uv-resolver/src/lock/tree.rs index 703fbf1998a5..f5a3484e8517 100644 --- a/crates/uv-resolver/src/lock/tree.rs +++ b/crates/uv-resolver/src/lock/tree.rs @@ -319,11 +319,7 @@ impl<'env> TreeDisplay<'env> { } } else { let by_package: FxHashMap<_, _> = self.roots.iter().map(|id| (&id.name, id)).collect(); - let mut first = true; for package in &self.packages { - if std::mem::take(&mut first) { - lines.push(String::new()); - } if let Some(id) = by_package.get(package) { path.clear(); lines.extend(self.visit(Node::Root(id), &mut visited, &mut path));