diff --git a/src/format.rs b/src/format.rs index 9180f65..8d83915 100644 --- a/src/format.rs +++ b/src/format.rs @@ -6,7 +6,7 @@ use libpt::bintols::split; pub type Num = u128; /// formats supported by numf -#[derive(Copy, Clone, Debug)] +#[derive(Copy, Clone, Debug, Hash, PartialEq, Eq)] pub enum Format { Dec, Hex,