blocks: fix redundant_field_names in macro

This commit is contained in:
ice_iix 2020-06-28 18:24:28 -07:00
parent af9aa0efc1
commit 6747ae176e
1 changed files with 2 additions and 2 deletions

View File

@ -263,7 +263,7 @@ macro_rules! define_blocks {
return $update_state; return $update_state;
)? )?
Block::$name { Block::$name {
$($fname: $fname,)? $($fname,)?
} }
} }
)+ )+
@ -378,7 +378,7 @@ macro_rules! define_blocks {
$($fname: $fname.next().unwrap(),)? $($fname: $fname.next().unwrap(),)?
}, },
state: CombinationIterState { state: CombinationIterState {
$($fname: $fname,)? $($fname,)?
} }
} }
} }