Skip to content

Commit 22281f1

Browse files
committed
Fix: Import HashMap instead of Map
I didn't catch that when merging PR #217. Fixes: be82af2 ("Rename MapImpl to Map") Fixes: 0d3a5c3 ("Merge pull request #217 from dlo9/master") Signed-off-by: Matthias Beyer <[email protected]>
1 parent 30c2c0e commit 22281f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/watch/src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use config::*;
2-
use std::collections::Map;
2+
use std::collections::HashMap;
33
use std::sync::RwLock;
44
use notify::{RecommendedWatcher, DebouncedEvent, Watcher, RecursiveMode};
55
use std::sync::mpsc::channel;
@@ -20,7 +20,7 @@ fn show() {
2020
.read()
2121
.unwrap()
2222
.clone()
23-
.try_into::<Map<String, String>>()
23+
.try_into::<HashMap<String, String>>()
2424
.unwrap());
2525
}
2626

0 commit comments

Comments
 (0)