diff options
Diffstat (limited to 'crates/bytes/src/lib.rs')
-rw-r--r-- | crates/bytes/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/bytes/src/lib.rs b/crates/bytes/src/lib.rs index 6e3f73c..2a9248d 100644 --- a/crates/bytes/src/lib.rs +++ b/crates/bytes/src/lib.rs @@ -34,7 +34,7 @@ const TB: u64 = 1000 * GB; pub mod error; pub mod serde; -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, PartialEq, PartialOrd, Ord, Eq)] pub struct Bytes(u64); impl Bytes { |