diff options
Diffstat (limited to 'tests/file_json.rs')
-rw-r--r-- | tests/file_json.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/file_json.rs b/tests/file_json.rs index 1d35cae..48836d8 100644 --- a/tests/file_json.rs +++ b/tests/file_json.rs @@ -43,7 +43,7 @@ fn test_file() { let c = make(); // Deserialize the entire file as single struct - let s: Settings = c.deserialize().unwrap(); + let s: Settings = c.try_into().unwrap(); assert!(s.debug.approx_eq_ulps(&1.0, 2)); assert_eq!(s.production, Some("false".to_string())); |