diff options
-rw-r--r-- | examples/watch/src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/watch/src/main.rs b/examples/watch/src/main.rs index cbe30e7..a197390 100644 --- a/examples/watch/src/main.rs +++ b/examples/watch/src/main.rs @@ -1,5 +1,5 @@ use config::*; -use std::collections::Map; +use std::collections::HashMap; use std::sync::RwLock; use notify::{RecommendedWatcher, DebouncedEvent, Watcher, RecursiveMode}; use std::sync::mpsc::channel; @@ -20,7 +20,7 @@ fn show() { .read() .unwrap() .clone() - .try_into::<Map<String, String>>() + .try_into::<HashMap<String, String>>() .unwrap()); } |