Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
marc2332 committed Jan 19, 2025
1 parent ba0ced7 commit 7b9515c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions crates/hooks/src/theming/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,12 @@ macro_rules! theme_with {
),* $(,)?
}) => {
$crate::paste! {
[<$theme_name With>] {
{
#[allow(clippy::needless_update)]
$($theme_field_name: Some($theme_field_val),)*
..$crate::Default::default()
[<$theme_name With>] {
$($theme_field_name: Some($theme_field_val),)*
..$crate::Default::default()
}
}
}
};
Expand Down

0 comments on commit 7b9515c

Please sign in to comment.