Skip to content

Commit 9047806

Browse files
kendase3nicholasbishop
authored andcommitted
add Ord and PartialOrd for Guid struct
1 parent 53d2b61 commit 9047806

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/data_types/guid.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use core::fmt;
88
///
99
/// The `Display` formatter prints GUIDs in the canonical format defined by
1010
/// RFC 4122, which is also used by UEFI.
11-
#[derive(Debug, Default, Copy, Clone, Eq, PartialEq)]
11+
#[derive(Debug, Default, Copy, Clone, Eq, Ord, PartialEq, PartialOrd)]
1212
#[repr(C)]
1313
pub struct Guid {
1414
/// The low field of the timestamp.

0 commit comments

Comments
 (0)