From 64ea7e609db7728e7abd5a0759ce65f61391581f Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Fri, 1 Mar 2024 17:52:51 +0100 Subject: [PATCH] better naming --- src/ecss/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ecss/mod.rs b/src/ecss/mod.rs index d7541db..dd2351c 100644 --- a/src/ecss/mod.rs +++ b/src/ecss/mod.rs @@ -360,7 +360,7 @@ impl> EcssEn { } -macro_rules! impl_from_for_generic_ecss_enum_wrapper { +macro_rules! generic_ecss_enum_typedefs_and_from_impls { ($($ty:ty => $Enum:ident),*) => { $( pub type $Enum = GenericEcssEnumWrapper<$ty>; @@ -376,7 +376,7 @@ macro_rules! impl_from_for_generic_ecss_enum_wrapper { // Generates EcssEnum<$TY> type definitions as well as a From<$TY> for EcssEnum<$TY> // implementation. -impl_from_for_generic_ecss_enum_wrapper! { +generic_ecss_enum_typedefs_and_from_impls! { u8 => EcssEnumU8, u16 => EcssEnumU16, u32 => EcssEnumU32,