From 185676cc1e6f989374aa51ada381e0aca0fdfefa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Saparelli?= Date: Wed, 29 Dec 2021 21:21:07 +1300 Subject: [PATCH] Fix doctests --- lib/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/lib.rs b/lib/src/lib.rs index 8836290..77b1fbb 100644 --- a/lib/src/lib.rs +++ b/lib/src/lib.rs @@ -41,7 +41,7 @@ //! let mut c = c.clone(); //! let w = w.clone(); //! async move { -//! for event in &action.events { +//! for event in action.events.iter() { //! if event.paths().any(|(p, _)| p.ends_with("/watchexec.conf")) { //! let conf = YourConfigFormat::load_from_file("watchexec.conf").await?; //!