diff options
Diffstat (limited to '')
-rw-r--r-- | dhall/src/typecheck.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dhall/src/typecheck.rs b/dhall/src/typecheck.rs index d68d304..598ae1f 100644 --- a/dhall/src/typecheck.rs +++ b/dhall/src/typecheck.rs @@ -138,7 +138,7 @@ impl<'a> TypeInternal<'a> { self.to_normalized().to_expr() } fn to_value(&self) -> Value { - self.to_typed().to_value().clone() + self.to_typed().to_value() } pub(crate) fn get_type(&self) -> Result<Cow<'_, Type<'static>>, TypeError> { Ok(match self { |