summaryrefslogtreecommitdiff
path: root/serde_dhall/tests
diff options
context:
space:
mode:
authorNadrieril2019-08-13 15:25:53 +0200
committerNadrieril2019-08-13 15:31:15 +0200
commit1ea8b10051d29c634399304273d6ee565d039bc2 (patch)
tree78750a34b6dd54f71bdff8fd835fc705a9ec2582 /serde_dhall/tests
parent74bb40e88c71b80ab785f07fd19da22404ab6e95 (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.rs4
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()
}