better naming
All checks were successful
Rust/spacepackets/pipeline/head This commit looks good
Rust/spacepackets/pipeline/pr-main This commit looks good

This commit is contained in:
Robin Müller 2024-03-01 17:52:51 +01:00
parent ebaa6210a4
commit 64ea7e609d
Signed by: muellerr
GPG Key ID: A649FB78196E3849

View File

@ -360,7 +360,7 @@ impl<TYPE: Debug + Copy + Clone + PartialEq + Eq + ToBeBytes + Into<u64>> 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,