From c26a941541ccd7733f7533372da71f0a5be36ed5 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sun, 14 Mar 2021 09:26:51 +0100 Subject: Rename try_into/try_from Because of the clash in names with the TryInto and TryFrom traits, we're renaming the functions here to try_serialize/try_deserialize. Signed-off-by: Matthias Beyer --- tests/file_ini.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/file_ini.rs') diff --git a/tests/file_ini.rs b/tests/file_ini.rs index e473158..7df9d38 100644 --- a/tests/file_ini.rs +++ b/tests/file_ini.rs @@ -36,7 +36,7 @@ fn make() -> Config { #[test] fn test_file() { let c = make(); - let s: Settings = c.try_into().unwrap(); + let s: Settings = c.try_deserialize().unwrap(); assert_eq!( s, Settings { -- cgit v1.2.3