Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fixed formatting
Mikayla Maki6c26f3d0e4d0
diff --git a/crates/project/src/worktree.rs b/crates/project/src/worktree.rsindex cb00fc5c412..5216db76f6c 100644--- a/crates/project/src/worktree.rs+++ b/crates/project/src/worktree.rs@@ -187,10 +187,12 @@ impl RepositoryEntry {self.worktree_statuses.iter_from(&repo_path).take_while(|(key, _)| key.starts_with(&repo_path))- .map(|(path, status)| if path == &repo_path {- status- } else {- &GitFileStatus::Modified+ .map(|(path, status)| {+ if path == &repo_path {+ status+ } else {+ &GitFileStatus::Modified+ }}).next().copied()@@ -4162,8 +4164,6 @@ mod tests {tree.flush_fs_events(cx).await;- git_status(&repo);-// Check that non-repo behavior is trackedtree.read_with(cx, |tree, _cx| {let snapshot = tree.snapshot();