Skip to content

Commit 966709d

Browse files
committed
Implement Hash for ObjectId
1 parent 4e10358 commit 966709d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/oid.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ impl error::Error for Error {
8888
}
8989

9090
/// A wrapper around raw 12-byte ObjectId representations.
91-
#[derive(Clone, PartialEq, PartialOrd, Eq, Ord)]
91+
#[derive(Clone, PartialEq, PartialOrd, Eq, Ord, Hash)]
9292
pub struct ObjectId {
9393
id: [u8; 12],
9494
}

0 commit comments

Comments
 (0)