Skip to content

Commit

Permalink
Merge pull request #669 from 20jasper/patch-1
Browse files Browse the repository at this point in the history
remove unused imports from documentation
  • Loading branch information
dfaust authored Jan 25, 2025
2 parents 998ee0c + 1b462ad commit 512bf70
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions notify/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::<Result<Event>>();
Expand Down Expand Up @@ -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<()> {
Expand Down

0 comments on commit 512bf70

Please sign in to comment.