Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix method header
Mikayla Maki3d6e063a6dca
diff --git a/crates/project/src/worktree.rs b/crates/project/src/worktree.rsindex 7596b0fcb79..d86b98e0ecb 100644--- a/crates/project/src/worktree.rs+++ b/crates/project/src/worktree.rs@@ -982,7 +982,7 @@ impl LocalWorktree {}/// Find the lowest path in the worktree's datastructures that is an ancestor- pub fn lowest_ancestor(&self, path: &Path) -> PathBuf {+ fn lowest_ancestor(&self, path: &Path) -> PathBuf {let mut lowest_ancestor = None;for path in path.ancestors() {if self.entry_for_path(path).is_some() {