diff --git a/components/style_derive/to_css.rs b/components/style_derive/to_css.rs index 02a44617bde..12fad8f0d34 100644 --- a/components/style_derive/to_css.rs +++ b/components/style_derive/to_css.rs @@ -27,7 +27,7 @@ pub fn derive(input: DeriveInput) -> Tokens { let mut expr = if !bindings.is_empty() { let mut expr = quote! {}; - if variant_attrs.function && variant_attrs.iterable { + if variant_attrs.iterable { assert_eq!(bindings.len(), 1); let binding = &bindings[0]; expr = quote! {