Skip to content

Commit 5bddaf3

Browse files
committed
fixed compilation error
seems there was excess parameter in new_debouncer() func, here is usage example: https://github.com/notify-rs/notify/blob/3df0f65152c8585cfb29d231c880b86b9164dcfd/examples/debouncer_mini.rs#L36
1 parent 64af131 commit 5bddaf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

launchk/src/launchd/plist.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ pub const SYSTEM_LAUNCH_DAEMONS: &str = "/System/Library/LaunchDaemons";
104104

105105
async fn fsnotify_subscriber() {
106106
let (tx, rx): (Sender<DebounceEventResult>, Receiver<DebounceEventResult>) = channel();
107-
let mut debouncer = new_debouncer(Duration::from_secs(5), None, tx).unwrap();
107+
let mut debouncer = new_debouncer(Duration::from_secs(5), tx).unwrap();
108108
let watcher = debouncer.watcher();
109109

110110
// Register plist paths

0 commit comments

Comments
 (0)