From 11296ae50625053a64dbc7210dff814899879d0f Mon Sep 17 00:00:00 2001 From: Conrad Ludgate Date: Mon, 22 Nov 2021 14:00:10 +0000 Subject: rename try_into to try_deserialize to avoid confusion --- tests/file_json.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/file_json.rs') diff --git a/tests/file_json.rs b/tests/file_json.rs index d3fa0a9..5a04afd 100644 --- a/tests/file_json.rs +++ b/tests/file_json.rs @@ -45,7 +45,7 @@ fn test_file() { let c = make(); // Deserialize the entire file as single struct - let s: Settings = c.try_into().unwrap(); + let s: Settings = c.try_deserialize().unwrap(); assert!(s.debug.approx_eq_ulps(&1.0, 2)); assert_eq!(s.production, Some("false".to_string())); -- cgit v1.2.3