summaryrefslogtreecommitdiff
path: root/serde_dhall/tests/traits.rs
diff options
context:
space:
mode:
authorNadrieril2020-03-22 22:11:00 +0000
committerNadrieril2020-03-31 21:45:31 +0100
commita70922c6c6beb58a45da80f15576b54fb915ec28 (patch)
tree13ec93aef7a8d5bb717b7722116c58f76a57dc36 /serde_dhall/tests/traits.rs
parentfd4a81b1a92c1859941538b7f2212c621f4b43fd (diff)
Rework SimpleType
Diffstat (limited to '')
-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 f3c6f05..608e6ed 100644
--- a/serde_dhall/tests/traits.rs
+++ b/serde_dhall/tests/traits.rs
@@ -1,8 +1,8 @@
-use serde_dhall::{from_str, simple::Type, StaticType};
+use serde_dhall::{from_str, SimpleType, StaticType};
#[test]
fn test_static_type() {
- fn parse(s: &str) -> Type {
+ fn parse(s: &str) -> SimpleType {
from_str(s).unwrap()
}