From e23bd7fa234f2e1066a2802fcc19f661710987fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Saparelli?= Date: Tue, 6 Jan 2015 19:57:52 +1300 Subject: [PATCH] Change example to fit new channel changes --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index cceeba6c..02816182 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,7 @@ ignored and counted as bugfixes; the compatibility is for this API only. extern crate notify; use notify::{RecommendedWatcher, Error, Watcher}; +use std::sync::mpsc::channel; fn main() { // Create a channel to receive the events. @@ -62,6 +63,8 @@ fn main() { - polling backend only handles `op::WRITE`s - see `TODO` comments in the code for more +Pull requests and bug reports happily accepted! + ## Origins Inspired by Go's [fsnotify](https://github.com/go-fsnotify/fsnotify), born out