From 1139904ef5c933753d205037cd08ba6982f722d3 Mon Sep 17 00:00:00 2001 From: Michael Sloan Date: Mon, 17 Mar 2025 22:10:16 -0600 Subject: [PATCH] Remove unnecessary conditional definition of `FS_WATCH_LATENCY` (#26967) This was added in #8343 to make it only visible for tests. #9189 then made it visible regardless of `test-support`, so the definitions became identical. Release Notes: - N/A --- crates/worktree/src/worktree.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/crates/worktree/src/worktree.rs b/crates/worktree/src/worktree.rs index 8cd3b09fe705172aa560eb9968795b392a608d05..41165022ca62f1acea943616e1031d0e692025d4 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.