From 69f19d1488a18733e513201e4519050eb35a5beb Mon Sep 17 00:00:00 2001 From: Koute Date: Wed, 24 Jan 2018 19:12:31 +0100 Subject: [PATCH] Derive a bunch of standard traits for `RecursiveMode` --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 81d4df7c..d2ab85a6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -486,7 +486,7 @@ impl StdError for Error { } /// Indicates whether only the provided directory or its sub-directories as well should be watched -#[derive(Debug)] +#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Debug)] pub enum RecursiveMode { /// Watch all sub-directories as well, including directories created after installing the watch Recursive,