From a7447aaf74006047e7d4904daad3082568cc3823 Mon Sep 17 00:00:00 2001 From: Bobby Holley Date: Mon, 28 Mar 2016 22:46:47 -0700 Subject: [PATCH] Don't require style structs to implement PartialEq. It turns out this isn't necessary, and requiring it for gecko style structs would be a pain. --- components/style/properties.mako.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/style/properties.mako.rs b/components/style/properties.mako.rs index 8ee3f8995a1..15b2566f657 100644 --- a/components/style/properties.mako.rs +++ b/components/style/properties.mako.rs @@ -6066,7 +6066,7 @@ pub mod style_struct_traits { use super::longhands; % for style_struct in STYLE_STRUCTS: - pub trait T${style_struct.name}: Clone + PartialEq { + pub trait T${style_struct.name}: Clone { % for longhand in style_struct.longhands: #[allow(non_snake_case)] fn set_${longhand.ident}(&mut self, v: longhands::${longhand.ident}::computed_value::T);