From 40632fefd5d6fc57bc915ee1b0de306ef50b00de Mon Sep 17 00:00:00 2001 From: Johannes Stoelp Date: Sun, 26 Feb 2023 21:15:12 +0100 Subject: fix fmt --- src/reg.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/reg.rs b/src/reg.rs index bf30a40..149d04d 100644 --- a/src/reg.rs +++ b/src/reg.rs @@ -31,7 +31,7 @@ pub(crate) trait Reg { } macro_rules! impl_reg { - (ENUM_ONLY, $name:ident, { $($reg: ident),+ $(,)? }) => { + (ENUM_ONLY, $name:ident, { $($reg:ident),+ $(,)? }) => { /// General purpose register operands. #[allow(non_camel_case_types)] #[derive(Copy, Clone)] @@ -49,7 +49,7 @@ macro_rules! impl_reg { } }; - ($name:ident, $rexw: expr, { $($reg: ident),+ $(,)? }) => { + ($name:ident, $rexw:expr, { $($reg:ident),+ $(,)? }) => { impl_reg!(ENUM_ONLY, $name, { $( $reg, )+ }); impl Reg for $name { -- cgit v1.2.3