Skip to content

Commit 30c2c0e

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 <mail@beyermatthias.de>
1 parent 63fc25b commit 30c2c0e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/simple/src/main.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use std::collections::Map;
1+
use std::collections::HashMap;
22

33
fn main() {
44
let mut settings = config::Config::default();
@@ -9,7 +9,7 @@ fn main() {
99
// Eg.. `APP_DEBUG=1 ./target/app` would set the `debug` key
1010
.merge(config::Environment::with_prefix("APP")).unwrap();
1111

12-
// Print out our settings (as a Map)
12+
// Print out our settings (as a HashMap)
1313
println!("{:?}",
14-
settings.try_into::<Map<String, String>>().unwrap());
14+
settings.try_into::<HashMap<String, String>>().unwrap());
1515
}

0 commit comments

Comments
 (0)