From 8d9dd4c1c14c70a2a273dd86dc7f0a65b13288d6 Mon Sep 17 00:00:00 2001 From: Colin Rofls Date: Tue, 21 Nov 2017 19:31:26 -0500 Subject: [PATCH] Make DebouncedEvent be Clone --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 81d4df7c..4338586c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -358,7 +358,7 @@ pub struct RawEvent { unsafe impl Send for RawEvent {} -#[derive(Debug)] +#[derive(Debug, Clone)] /// Event delivered when action occurs on a watched path in debounced mode pub enum DebouncedEvent { /// `NoticeWrite` is emitted immediately after the first write event for the path.