summaryrefslogtreecommitdiffstats
path: root/examples/watch/src/main.rs
diff options
context:
space:
mode:
authorDavid Orchard <if_coding@fastmail.com>2021-08-01 00:03:10 -0700
committerDavid Orchard <if_coding@fastmail.com>2021-08-15 10:31:58 -0700
commitcc0530a7716779f954b1756905a9f4ceb7eb6d62 (patch)
tree311b2ca44a282bbc629a08123f53a855cba38c1c /examples/watch/src/main.rs
parent622efaca17256fb42dafc61c8df1f3037c1fb772 (diff)
Move order preservation under a feature gate
Diffstat (limited to 'examples/watch/src/main.rs')
-rw-r--r--examples/watch/src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/watch/src/main.rs b/examples/watch/src/main.rs
index 9e676ad..fed4ed0 100644
--- a/examples/watch/src/main.rs
+++ b/examples/watch/src/main.rs
@@ -1,5 +1,5 @@
use config::*;
-use std::collections::LinkedHashMap;
+use std::collections::MapImpl;
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::<LinkedHashMap<String, String>>()
+ .try_into::<MapImpl<String, String>>()
.unwrap());
}