diff options
Diffstat (limited to 'examples/watch/src/main.rs')
-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 a197390..9e676ad 100644 --- a/examples/watch/src/main.rs +++ b/examples/watch/src/main.rs @@ -1,5 +1,5 @@ use config::*; -use std::collections::HashMap; +use std::collections::LinkedHashMap; 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::<HashMap<String, String>>() + .try_into::<LinkedHashMap<String, String>>() .unwrap()); } |