diff options
author | Conrad Ludgate <conradludgate@gmail.com> | 2021-11-22 14:00:10 +0000 |
---|---|---|
committer | Conrad Ludgate <conradludgate@gmail.com> | 2021-11-23 07:40:53 +0000 |
commit | 11296ae50625053a64dbc7210dff814899879d0f (patch) | |
tree | d377f13881451f0b27eace0be61d0466ecb7c9e7 /tests/weird_keys.rs | |
parent | 3b60b9f5575ae60a672f006040707af423f67390 (diff) |
rename try_into to try_deserialize to avoid confusion
Diffstat (limited to 'tests/weird_keys.rs')
-rw-r--r-- | tests/weird_keys.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/weird_keys.rs b/tests/weird_keys.rs index 9c5f1f8..79f3a14 100644 --- a/tests/weird_keys.rs +++ b/tests/weird_keys.rs @@ -22,7 +22,7 @@ where .build(); assert!(cfg.is_ok(), "Config could not be built: {:?}", cfg); - let cfg = cfg.unwrap().try_into(); + let cfg = cfg.unwrap().try_deserialize(); assert!(cfg.is_ok(), "Config could not be transformed: {:?}", cfg); let cfg: T = cfg.unwrap(); |