diff options
author | Nadrieril | 2019-08-13 15:25:53 +0200 |
---|---|---|
committer | Nadrieril | 2019-08-13 15:31:15 +0200 |
commit | 1ea8b10051d29c634399304273d6ee565d039bc2 (patch) | |
tree | 78750a34b6dd54f71bdff8fd835fc705a9ec2582 /serde_dhall/tests | |
parent | 74bb40e88c71b80ab785f07fd19da22404ab6e95 (diff) |
Merge `Type` and `Value` in serde_dhall
There was no point in separating them
Diffstat (limited to 'serde_dhall/tests')
-rw-r--r-- | serde_dhall/tests/traits.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/serde_dhall/tests/traits.rs b/serde_dhall/tests/traits.rs index 99f1109..40ac1d7 100644 --- a/serde_dhall/tests/traits.rs +++ b/serde_dhall/tests/traits.rs @@ -1,9 +1,9 @@ #![feature(proc_macro_hygiene)] -use serde_dhall::de::{from_str, StaticType, Type}; +use serde_dhall::de::{from_str, StaticType, Value}; #[test] fn test_static_type() { - fn parse(s: &str) -> Type { + fn parse(s: &str) -> Value { from_str(s, None).unwrap() } |