From 971ce0f285dd06a618711eba8e8ed1ae7c814294 Mon Sep 17 00:00:00 2001 From: Ryan Leckey Date: Sat, 5 Aug 2017 02:03:30 -0700 Subject: Fix tests and put back .deserialize as deprecated --- examples/glob/src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples') diff --git a/examples/glob/src/main.rs b/examples/glob/src/main.rs index f88f1ed..112335c 100644 --- a/examples/glob/src/main.rs +++ b/examples/glob/src/main.rs @@ -19,7 +19,7 @@ fn main() { // Print out our settings (as a HashMap) println!("\n{:?} \n\n-----------", - settings.deserialize::>().unwrap()); + settings.try_into::>().unwrap()); // Option 2 // -------- @@ -33,7 +33,7 @@ fn main() { // Print out our settings (as a HashMap) println!("\n{:?} \n\n-----------", - settings.deserialize::>().unwrap()); + settings.try_into::>().unwrap()); // Option 3 // -------- @@ -48,5 +48,5 @@ fn main() { // Print out our settings (as a HashMap) println!("\n{:?} \n\n-----------", - settings.deserialize::>().unwrap()); + settings.try_into::>().unwrap()); } -- cgit v1.2.3