Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
fs: Fix wrong watcher trace log on Linux (#42544)
Finn Everse79188261ba4
diff --git a/crates/fs/src/fs_watcher.rs b/crates/fs/src/fs_watcher.rsindex 32be1112d0b..18d5dbeeb9e 100644--- a/crates/fs/src/fs_watcher.rs+++ b/crates/fs/src/fs_watcher.rs@@ -72,8 +72,8 @@ impl Watcher for FsWatcher {}#[cfg(target_os = "linux")]{- log::trace!("path to watch is already watched: {path:?}");if self.registrations.lock().contains_key(path) {+ log::trace!("path to watch is already watched: {path:?}");return Ok(());}}