Skip to content

Commit 2739034

Browse files
authored
Merge pull request #90 from boredstiff/patch-1
Update example deprecated method
2 parents c744865 + f81c1ed commit 2739034

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/simple/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ fn main() {
1313

1414
// Print out our settings (as a HashMap)
1515
println!("{:?}",
16-
settings.deserialize::<HashMap<String, String>>().unwrap());
16+
settings.try_into::<HashMap<String, String>>().unwrap());
1717
}

0 commit comments

Comments
 (0)