mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-12 05:15:00 +00:00
Fix method header
This commit is contained in:
parent
d22a576f5e
commit
3d6e063a6d
1 changed files with 1 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue