Skip to content

Commit eace064

Browse files
authored
RUST-1195 Add missing trait impls to Uuid (#345)
1 parent 43f2fd6 commit eace064

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/uuid/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ pub(crate) const UUID_NEWTYPE_NAME: &str = "$__bson_private_uuid";
162162
/// will also allow deserialization from 16 byte + subtype 0 Binary values in BSON if part of a
163163
/// `#[serde(flatten)]` chain. This behavior shouldn't be relied upon as it may be fixed at some
164164
/// point in the future.
165-
#[derive(Clone, Copy, PartialEq, Hash)]
165+
#[derive(Clone, Copy, PartialEq, Hash, Eq, PartialOrd, Ord)]
166166
pub struct Uuid {
167167
uuid: uuid::Uuid,
168168
}

0 commit comments

Comments
 (0)