From 5945a9515b2c22fafdb5c65be2b9e5772085d472 Mon Sep 17 00:00:00 2001 From: Pi Lanningham Date: Fri, 10 Nov 2023 21:52:26 -0500 Subject: [PATCH] Disable the doctest, since I don't have an impl of EventListener I can use --- crates/aiken-project/src/watch.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/crates/aiken-project/src/watch.rs b/crates/aiken-project/src/watch.rs index ac6fea08..fc95c426 100644 --- a/crates/aiken-project/src/watch.rs +++ b/crates/aiken-project/src/watch.rs @@ -30,13 +30,14 @@ pub fn default_filter(evt: &Event) -> bool { /// Run a function each time a file in the project changes /// -/// ``` +/// ```text +/// // Note: doctest disabled, because aiken_project doesn't have an implementation of EventListener I can use /// use aiken_project::watch::{watch_project, default_filter}; -/// use aiken_project::Project; +/// use aiken_project::{Project}; /// watch_project(None, Terminal, default_filter, 500, |project| { /// println!("Project changed!"); /// Ok(()) -/// }) +/// }); /// ``` pub fn watch_project( directory: Option,