From 97c11fbeb328a441411117de73e81b584dba8362 Mon Sep 17 00:00:00 2001 From: Henry Zimmerman Date: Sun, 6 Oct 2019 09:39:17 -0400 Subject: [PATCH] Derive PartialEq for Classes --- src/virtual_dom/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/virtual_dom/mod.rs b/src/virtual_dom/mod.rs index 902acf5b3b0..026eba57673 100644 --- a/src/virtual_dom/mod.rs +++ b/src/virtual_dom/mod.rs @@ -41,7 +41,7 @@ type Listeners = Vec>>; type Attributes = HashMap; /// A set of classes. -#[derive(Debug, Clone, Default)] +#[derive(Debug, Clone, Default, PartialEq)] pub struct Classes { set: IndexSet, }