Remove an unused macro branch

Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
This commit is contained in:
Chris Hennick 2024-05-24 13:11:07 -07:00 committed by GitHub
parent 01bb162456
commit 3af70176e3
Signed by: DevComp
GPG key ID: B5690EEEBB952194

View file

@ -169,9 +169,6 @@ macro_rules! to_le {
($obj:ident, $field:ident, $type:ty) => { ($obj:ident, $field:ident, $type:ty) => {
$obj.$field = <$type>::to_le($obj.$field); $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),+ $(,)?]) => { ($obj:ident, [($field:ident, $type:ty), $($rest:tt),+ $(,)?]) => {
to_le![$obj, $field, $type]; to_le![$obj, $field, $type];
to_le!($obj, [$($rest),+]); to_le!($obj, [$($rest),+]);