summaryrefslogtreecommitdiffstats
path: root/tests/file_ini.rs
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2021-03-14 09:26:51 +0100
committerMatthias Beyer <mail@beyermatthias.de>2021-03-14 09:48:59 +0100
commitc26a941541ccd7733f7533372da71f0a5be36ed5 (patch)
tree2ed0a5f2df07dd3dcdbf73af9394cdea5f9df57a /tests/file_ini.rs
parenta3f205dc628b59a32de813b3efefbaec4667d217 (diff)
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 <mail@beyermatthias.de>
Diffstat (limited to 'tests/file_ini.rs')
-rw-r--r--tests/file_ini.rs2
1 files changed, 1 insertions, 1 deletions
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 {