From b6f57069b75febf1d312a98efcd6544c9db2fe59 Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Sat, 4 May 2019 14:19:43 +0200 Subject: Remove dummy lifetimes --- dhall_proc_macros/src/derive.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dhall_proc_macros/src') diff --git a/dhall_proc_macros/src/derive.rs b/dhall_proc_macros/src/derive.rs index bcefb17..1ccb28b 100644 --- a/dhall_proc_macros/src/derive.rs +++ b/dhall_proc_macros/src/derive.rs @@ -168,8 +168,8 @@ pub fn derive_simple_static_type_inner( impl #impl_generics ::dhall::de::SimpleStaticType for #ident #ty_generics #where_clause { - fn get_simple_static_type<'get_simple_static_type>() -> - ::dhall::expr::SimpleType<'get_simple_static_type> { + fn get_simple_static_type() -> + ::dhall::expr::SimpleType { #(#assertions)* ::dhall::expr::SimpleType::from(#get_type) } -- cgit v1.2.3