summaryrefslogtreecommitdiff
path: root/serde_dhall
diff options
context:
space:
mode:
authorNadrieril2019-08-28 13:49:27 +0200
committerNadrieril2019-08-30 19:24:04 +0200
commit55c127e70eb484df486a45b25bcf03479eebda10 (patch)
tree9984ed06be4bca0783a122a3106b78ac70b8e65d /serde_dhall
parentddecd2c40b91ea6aa4e23ccb2f6817ad5d1df3de (diff)
Cleanup conversion of `Value` to `Expr`
Diffstat (limited to 'serde_dhall')
-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 9fce42d..3d07539 100644
--- a/serde_dhall/src/lib.rs
+++ b/serde_dhall/src/lib.rs
@@ -149,7 +149,7 @@ pub mod value {
Ok(Value(typed))
}
pub(crate) fn to_expr(&self) -> NormalizedExpr {
- self.0.to_expr()
+ self.0.normalize_to_expr()
}
pub(crate) fn as_typed(&self) -> &Typed {
&self.0