diff --git a/src/poll.rs b/src/poll.rs index 4dea83ec..95cd9a5f 100644 --- a/src/poll.rs +++ b/src/poll.rs @@ -139,18 +139,6 @@ impl PathData { } impl PollWatcher { - /// Create a new [PollWatcher] and set the poll frequency to `delay`. - #[deprecated(note = "Prefer with_config instead")] - pub fn with_delay(event_handler: F, delay: Duration) -> Result { - Self::with_config( - event_handler, - PollWatcherConfig { - poll_interval: delay, - compare_contents: false, - }, - ) - } - /// Create a new [PollWatcher], configured as needed. pub fn with_config( event_handler: F,