We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63fc25b commit 30c2c0eCopy full SHA for 30c2c0e
examples/simple/src/main.rs
@@ -1,4 +1,4 @@
1
-use std::collections::Map;
+use std::collections::HashMap;
2
3
fn main() {
4
let mut settings = config::Config::default();
@@ -9,7 +9,7 @@ fn main() {
9
// Eg.. `APP_DEBUG=1 ./target/app` would set the `debug` key
10
.merge(config::Environment::with_prefix("APP")).unwrap();
11
12
- // Print out our settings (as a Map)
+ // Print out our settings (as a HashMap)
13
println!("{:?}",
14
- settings.try_into::<Map<String, String>>().unwrap());
+ settings.try_into::<HashMap<String, String>>().unwrap());
15
}
0 commit comments