Skip to content

Commit 0d53271

Browse files
authored
ByteSize: Hash
1 parent 0282291 commit 0d53271

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ pub fn pib<V: Into<u64>>(size: V) -> u64 {
104104
}
105105

106106
/// Byte size representation
107-
#[derive(Copy, Clone, PartialEq, PartialOrd, Eq, Ord, Default)]
107+
#[derive(Copy, Clone, PartialEq, PartialOrd, Eq, Ord, Hash, Default)]
108108
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
109109
pub struct ByteSize(pub u64);
110110

0 commit comments

Comments
 (0)