summaryrefslogtreecommitdiff
path: root/src/watch/notify_event.rs
diff options
context:
space:
mode:
authormo8it <mo8it@proton.me>2024-04-14 02:41:19 +0200
committermo8it <mo8it@proton.me>2024-04-14 02:41:19 +0200
commitbee62c89de09fdd9823cba81e07f0f8528fe8ef9 (patch)
treebca32899b02862936905ed84624ebd3af2b0e691 /src/watch/notify_event.rs
parent5c0073a9485c4226e58b657cb49628919a28a942 (diff)
Add terminal links
Diffstat (limited to 'src/watch/notify_event.rs')
-rw-r--r--src/watch/notify_event.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/watch/notify_event.rs b/src/watch/notify_event.rs
index 0c8d669..fb9a8c0 100644
--- a/src/watch/notify_event.rs
+++ b/src/watch/notify_event.rs
@@ -1,11 +1,11 @@
use notify_debouncer_mini::{DebounceEventResult, DebouncedEventKind};
-use std::{path::Path, sync::mpsc::Sender};
+use std::sync::mpsc::Sender;
use super::WatchEvent;
pub struct DebounceEventHandler {
pub tx: Sender<WatchEvent>,
- pub exercise_paths: &'static [&'static Path],
+ pub exercise_paths: &'static [&'static str],
}
impl notify_debouncer_mini::DebounceEventHandler for DebounceEventHandler {