Skip to content

Commit

Permalink
Make ObjectCapability hashable
Browse files Browse the repository at this point in the history
  • Loading branch information
aveenismail committed Jul 7, 2023
1 parent 6e3d2db commit 552c8e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/object.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ pub enum ObjectType {
Any,
}

#[derive(Clone, Copy, PartialEq)]
#[derive(Clone, Copy, PartialEq, Eq, std::hash::Hash)]
/// Object capabilities
pub enum ObjectCapability {
/// Get opaque object
Expand Down

0 comments on commit 552c8e2

Please sign in to comment.