diff options
author | Nadrieril | 2020-03-08 17:36:51 +0000 |
---|---|---|
committer | Nadrieril | 2020-03-31 21:44:01 +0100 |
commit | 4e11e882b7d064e9ddf997f9a465206cf6e471aa (patch) | |
tree | 17cba8f042c0ca9c8b863839d9244b25aa9b7fe0 /serde_dhall/tests | |
parent | 84796fd247eb1a13fcd092a7cd7ec2d587b261bd (diff) |
Split serde_dhall::Value to separate values from types
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 15a91ed..b2fe6e5 100644 --- a/serde_dhall/tests/traits.rs +++ b/serde_dhall/tests/traits.rs @@ -1,8 +1,8 @@ -use serde_dhall::{from_str, StaticType, Value}; +use serde_dhall::{from_str, StaticType, Type}; #[test] fn test_static_type() { - fn parse(s: &str) -> Value { + fn parse(s: &str) -> Type { from_str(s).unwrap() } |