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),+]);