summaryrefslogtreecommitdiff
path: root/serde_dhall/src
diff options
context:
space:
mode:
Diffstat (limited to 'serde_dhall/src')
-rw-r--r--serde_dhall/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/serde_dhall/src/lib.rs b/serde_dhall/src/lib.rs
index 1f7ecf8..103fdc3 100644
--- a/serde_dhall/src/lib.rs
+++ b/serde_dhall/src/lib.rs
@@ -238,7 +238,7 @@ pub mod ty {
impl Type {
pub(crate) fn to_dhall_value(&self) -> dhall::Value {
- self.0.clone().into_normalized().to_value()
+ self.0.to_value()
}
pub(crate) fn from_simple_type(ty: SimpleType) -> Self {