From 22281f1c331e139c2ca6afc3ab27b22fac851a4c Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sat, 21 Aug 2021 11:00:02 +0200 Subject: 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 --- examples/watch/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') 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::>() + .try_into::>() .unwrap()); } -- cgit v1.2.3