Skip to content

Commit

Permalink
Make element implement Hash
Browse files Browse the repository at this point in the history
  • Loading branch information
daemontus committed Mar 8, 2024
1 parent ea69299 commit 0968f69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/element.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ impl ElementBuilder {
/// .collect();
/// ```
///
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub struct Element {
id: usize,
}
Expand Down

0 comments on commit 0968f69

Please sign in to comment.