Skip to content

Commit

Permalink
Typo fix in watcher selector
Browse files Browse the repository at this point in the history
  • Loading branch information
okynos committed May 27, 2023
1 parent 5fb7ff2 commit be8c572
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/multiwatcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit be8c572

Please sign in to comment.