Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Remove unnecessary conditional definition of `FS_WATCH_LATENCY` (#26967)

Michael Sloan1139904ef5c9
diff --git a/crates/worktree/src/worktree.rs b/crates/worktree/src/worktree.rs
index 8cd3b09fe70..41165022ca6 100644
--- a/crates/worktree/src/worktree.rs
+++ b/crates/worktree/src/worktree.rs
@@ -76,9 +76,6 @@ use util::{
};
pub use worktree_settings::WorktreeSettings;
-#[cfg(feature = "test-support")]
-pub const FS_WATCH_LATENCY: Duration = Duration::from_millis(100);
-#[cfg(not(feature = "test-support"))]
pub const FS_WATCH_LATENCY: Duration = Duration::from_millis(100);
/// A set of local or remote files that are being opened as part of a project.