WIP: Start on updating file handles

Co-Authored-By: Max Brunsfeld <max@zed.dev>
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Antonio Scandurra
2021-04-26 20:10:15 +02:00
co-authored by Max Brunsfeld Nathan Sobo
parent 111d98d6c1
commit 6535304da8
2 changed files with 46 additions and 15 deletions
+1 -1
View File
@@ -429,7 +429,7 @@ impl Buffer {
}
}
pub fn path(&self) -> Option<&Arc<Path>> {
pub fn path(&self) -> Option<Arc<Path>> {
self.file.as_ref().map(|file| file.path())
}