Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
project: Compare WorktreePaths by pairing, not by path sets (#62144)
Ben Kunkle20ce54f8e407
diff --git a/crates/project/src/worktree_store.rs b/crates/project/src/worktree_store.rsindex 89aeeb76c0e..2158480bcc9 100644--- a/crates/project/src/worktree_store.rs+++ b/crates/project/src/worktree_store.rs@@ -50,7 +50,7 @@ pub struct WorktreePaths {impl PartialEq for WorktreePaths {fn eq(&self, other: &Self) -> bool {- self.paths == other.paths && self.main_paths == other.main_paths+ self.ordered_pairs().eq(other.ordered_pairs())}}