From 544e0f4cd6c45135c55770039b0b92054b92121c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Mon, 29 May 2017 21:38:21 +0200 Subject: [PATCH] style: Allow ApplicableDeclarationBlocks to be compared. We'll need this to cache pres hints, which generate these. --- components/style/stylist.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/style/stylist.rs b/components/style/stylist.rs index d40a1b8de75..1689db9bd8d 100644 --- a/components/style/stylist.rs +++ b/components/style/stylist.rs @@ -1350,7 +1350,7 @@ impl Rule { /// This represents the declarations in a given declaration block for a given /// importance. #[cfg_attr(feature = "servo", derive(HeapSizeOf))] -#[derive(Debug, Clone)] +#[derive(Debug, Clone, PartialEq)] pub struct ApplicableDeclarationBlock { /// The style source, either a style rule, or a property declaration block. #[cfg_attr(feature = "servo", ignore_heap_size_of = "Arc")]