aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2023-02-26 21:15:12 +0100
committerJohannes Stoelp <johannes.stoelp@gmail.com>2023-02-26 21:15:12 +0100
commit40632fefd5d6fc57bc915ee1b0de306ef50b00de (patch)
treefbae4189cefea2a1ca107fe389d9e496ad23ef83
parentc619b7aeb72cb18cc0f76a94e78cc5d9d7c9e89f (diff)
downloadjuicebox-asm-40632fefd5d6fc57bc915ee1b0de306ef50b00de.tar.gz
juicebox-asm-40632fefd5d6fc57bc915ee1b0de306ef50b00de.zip
fix fmt
-rw-r--r--src/reg.rs4
1 files 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 {