From 5fe8b73f0491ec4f62a2b3204484918a10f5aa53 Mon Sep 17 00:00:00 2001 From: Mikayla Maki Date: Thu, 11 May 2023 16:07:41 -0700 Subject: [PATCH] =?UTF-8?q?compile=20error=20=F0=9F=98=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crates/project/src/worktree.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/project/src/worktree.rs b/crates/project/src/worktree.rs index 305bcbbf16..fcda45fd6f 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) }) });