diff --git a/crates/hooks/src/theming/mod.rs b/crates/hooks/src/theming/mod.rs index 4d7ead5e2..dc44bea9e 100644 --- a/crates/hooks/src/theming/mod.rs +++ b/crates/hooks/src/theming/mod.rs @@ -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() + } } } };