mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
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.
This commit is contained in:
parent
4d2cf9e277
commit
a7447aaf74
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue