From 06d9b2ec7faf1c2cd7484e2604b8c3fcb4ec5977 Mon Sep 17 00:00:00 2001 From: Dmitry Stepanov Date: Sat, 20 Sep 2025 12:18:42 +0300 Subject: [PATCH] fixed uuid_provider macro --- fyrox-core/src/type_traits.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/fyrox-core/src/type_traits.rs b/fyrox-core/src/type_traits.rs index 1f6677791..a4536cb38 100644 --- a/fyrox-core/src/type_traits.rs +++ b/fyrox-core/src/type_traits.rs @@ -39,9 +39,8 @@ pub trait TypeUuidProvider: Sized { #[macro_export] macro_rules! uuid_provider { - ($type:ident $(<$($generics:tt),*>)? = $uuid:expr) => { - #[allow(non_camel_case_types)] - impl$(<$($generics),*>)? $crate::type_traits::TypeUuidProvider for $type $(<$($generics),*>)? { + ($type:ty = $uuid:expr) => { + impl $crate::type_traits::TypeUuidProvider for $type { fn type_uuid() -> $crate::uuid::Uuid { $crate::uuid::uuid!($uuid) }