diff options
author | Nadrieril | 2019-05-02 12:54:35 +0200 |
---|---|---|
committer | Nadrieril | 2019-05-02 13:48:55 +0200 |
commit | 5465b7e2b8cc286e2e8b87556b3ec6a2476cf0cf (patch) | |
tree | a335aabe2be9639f4064220e47980b44fe1a84a2 /dhall/src/traits | |
parent | 61f8413a24fc9e215d948f6238584e493a66705f (diff) |
Tweaks
Diffstat (limited to 'dhall/src/traits')
-rw-r--r-- | dhall/src/traits/static_type.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dhall/src/traits/static_type.rs b/dhall/src/traits/static_type.rs index 225eb32..8b5acbf 100644 --- a/dhall/src/traits/static_type.rs +++ b/dhall/src/traits/static_type.rs @@ -33,7 +33,7 @@ pub trait SimpleStaticType { } fn mktype<'a>(x: SubExpr<X, X>) -> SimpleType<'a> { - SimpleType(x, std::marker::PhantomData) + x.into() } impl<T: SimpleStaticType> StaticType for T { |