diff options
Diffstat (limited to 'engine-macros/src/lib.rs')
| -rw-r--r-- | engine-macros/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine-macros/src/lib.rs b/engine-macros/src/lib.rs index b7bbd43..75ff209 100644 --- a/engine-macros/src/lib.rs +++ b/engine-macros/src/lib.rs @@ -106,7 +106,7 @@ pub fn reflection_derive(input: TokenStream) -> TokenStream }); quote! { - impl #impl_generics #engine_crate_path::reflection::Reflection for + unsafe impl #impl_generics #engine_crate_path::reflection::Reflection for #input_ident #type_generics #where_clause { const TYPE_REFLECTION: &#engine_crate_path::reflection::Type = |
