From 1b462ad318fc58dfd8deca78c0c283aceb1b9a93 Mon Sep 17 00:00:00 2001 From: Jacob Asper <78604367+20jasper@users.noreply.github.com> Date: Sat, 25 Jan 2025 00:14:10 -0500 Subject: [PATCH] remove unused imports from documentation --- notify/src/lib.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/notify/src/lib.rs b/notify/src/lib.rs index 23da0fd2..dc289b6e 100644 --- a/notify/src/lib.rs +++ b/notify/src/lib.rs @@ -88,9 +88,8 @@ //! For more examples visit the [examples folder](https://github.com/notify-rs/notify/tree/main/examples) in the repository. //! //! ```rust -//! # use std::path::Path; -//! use notify::{recommended_watcher, Event, RecursiveMode, Result, Watcher}; -//! use std::sync::mpsc; +//! use notify::{Event, RecursiveMode, Result, Watcher}; +//! use std::{path::Path, sync::mpsc}; //! //! fn main() -> Result<()> { //! let (tx, rx) = mpsc::channel::>(); @@ -132,7 +131,7 @@ //! all call the same event function. This can accommodate advanced behaviour or work around limits. //! //! ```rust -//! # use notify::{RecommendedWatcher, RecursiveMode, Result, Watcher}; +//! # use notify::{RecursiveMode, Result, Watcher}; //! # use std::path::Path; //! # //! # fn main() -> Result<()> {