From fd992e35ab1f61db59ad3a17a4e1795d1f216432 Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Sun, 14 Apr 2019 15:02:12 +0200 Subject: Transform more mapping functions to use the Visitor trait --- dhall/src/normalize.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dhall') diff --git a/dhall/src/normalize.rs b/dhall/src/normalize.rs index 49812c9..debf277 100644 --- a/dhall/src/normalize.rs +++ b/dhall/src/normalize.rs @@ -12,7 +12,7 @@ impl<'a> Typed<'a> { #[allow(dead_code)] pub fn skip_normalize(self) -> Normalized<'a> { Normalized( - self.0.unroll().squash_embed(&|e| e.0.clone()), + self.0.unroll().squash_embed(|e| e.0.clone()), self.1, self.2, ) -- cgit v1.2.3