Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

compile error 😅

Mikayla Maki5fe8b73f0491
diff --git a/crates/project/src/worktree.rs b/crates/project/src/worktree.rs
index 305bcbbf16c..fcda45fd6f3 100644
--- a/crates/project/src/worktree.rs
+++ b/crates/project/src/worktree.rs
@@ -3023,7 +3023,7 @@ impl BackgroundScanner {
snapshot.repository_entries.update(&work_dir, |entry| {
entry
.worktree_statuses
- .remove_by(&repo_path, |stored_path, _| {
+ .remove_by(&repo_path, |stored_path| {
stored_path.starts_with(&repo_path)
})
});