diff options
author | Nadrieril | 2019-05-04 14:19:43 +0200 |
---|---|---|
committer | Nadrieril | 2019-05-04 14:19:43 +0200 |
commit | b6f57069b75febf1d312a98efcd6544c9db2fe59 (patch) | |
tree | d787d82502e4b62c01937c459295da3dda8ba62d /dhall_proc_macros/src | |
parent | 68d1e5f42e3cf4cf132d1cd7d1d1775e48cf2a43 (diff) |
Remove dummy lifetimes
Diffstat (limited to 'dhall_proc_macros/src')
-rw-r--r-- | dhall_proc_macros/src/derive.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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) } |