From 3af70176e34fd528e611c967f3c6c3bad8b00d89 Mon Sep 17 00:00:00 2001 From: Chris Hennick <4961925+Pr0methean@users.noreply.github.com> Date: Fri, 24 May 2024 13:11:07 -0700 Subject: [PATCH] Remove an unused macro branch Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com> --- src/spec.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/spec.rs b/src/spec.rs index cdeb0428..3726a58f 100644 --- a/src/spec.rs +++ b/src/spec.rs @@ -169,9 +169,6 @@ macro_rules! to_le { ($obj:ident, $field:ident, $type:ty) => { $obj.$field = <$type>::to_le($obj.$field); }; - ($obj:ident, [($field:ident, $type:ty) $(,)?]) => { - to_le![$obj, $field, $type]; - }; ($obj:ident, [($field:ident, $type:ty), $($rest:tt),+ $(,)?]) => { to_le![$obj, $field, $type]; to_le!($obj, [$($rest),+]);