Remove worktree_path from File struct

This commit is contained in:
Nathan Sobo
2022-01-22 14:29:36 -07:00
parent 2a6f06f18a
commit e2a2073bdb
5 changed files with 35 additions and 40 deletions
+1 -1
View File
@@ -126,7 +126,7 @@ impl ItemView for Editor {
.buffer()
.read(cx)
.file(cx)
.and_then(|file| file.file_name());
.and_then(|file| file.file_name(cx));
if let Some(name) = filename {
name.to_string_lossy().into()
} else {