Remove stray logging statements

Antonio Scandurra and Nathan Sobo created

Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Change summary

zed/src/worktree.rs | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)

Detailed changes

zed/src/worktree.rs 🔗

@@ -1917,8 +1917,9 @@ impl File {
     /// Returns the last component of this handle's absolute path. If this handle refers to the root
     /// of its worktree, then this method will return the name of the worktree itself.
     pub fn file_name<'a>(&'a self, cx: &'a AppContext) -> Option<OsString> {
-        dbg!(self.path.file_name())
-            .or_else(|| Some(OsStr::new(dbg!(self.worktree.read(cx).root_name()))))
+        self.path
+            .file_name()
+            .or_else(|| Some(OsStr::new(self.worktree.read(cx).root_name())))
             .map(Into::into)
     }