From be8c5725e837ea73d31f96f2ef65f8773b4af2ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Fern=C3=A1ndez?= Date: Sat, 27 May 2023 16:37:42 +0200 Subject: [PATCH] Typo fix in watcher selector --- src/multiwatcher.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/multiwatcher.rs b/src/multiwatcher.rs index b1379f7..b0d99a6 100644 --- a/src/multiwatcher.rs +++ b/src/multiwatcher.rs @@ -37,7 +37,7 @@ impl MultiWatcher { // ------------------------------------------------------------------------ pub fn watch(&mut self, path: &Path, mode: RecursiveMode) -> notify::Result<()> { - if self.kind != "Pool" { + if self.kind != "Poll" { self.recommended_watcher.watch(path, mode) }else{ self.poll_watcher.watch(path, mode)