Skip to content

Commit

Permalink
Fix typo causing expansion fail
Browse files Browse the repository at this point in the history
  • Loading branch information
sosthene-nitrokey authored and dzamlo committed Apr 9, 2024
1 parent 0a79f34 commit 572a85b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ macro_rules! bitfield_fields {

(only $only:tt; $default_ty:ty; ($(#[$attribute:meta])*) $t:ty, mask $mask:ident($mask_t:ty), from into $into:ty, $getter:tt, $setter:tt:
$($exprs:expr),*; $($rest:tt)*) => {
bitfield_fields!{only $only; @field $(#[$attribute])* () $t, $mask($mask_ty), $into, $into, $getter, $setter: $($exprs),*}
bitfield_fields!{only $only; @field $(#[$attribute])* () $t, $mask($mask_t), $into, $into, $getter, $setter: $($exprs),*}
bitfield_fields!{only $only; $default_ty; $($rest)*}
};

Expand Down

0 comments on commit 572a85b

Please sign in to comment.