Skip to content

Commit

Permalink
Derive PartialEq for Classes (#680)
Browse files Browse the repository at this point in the history
  • Loading branch information
hgzimmerman authored and jstarry committed Oct 13, 2019
1 parent 74ea945 commit c8ac045
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/virtual_dom/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ type Listeners<COMP> = Vec<Box<dyn Listener<COMP>>>;
type Attributes = HashMap<String, String>;

/// A set of classes.
#[derive(Debug, Clone, Default)]
#[derive(Debug, Clone, Default, PartialEq)]
pub struct Classes {
set: IndexSet<String>,
}
Expand Down

0 comments on commit c8ac045

Please sign in to comment.