From 290b959b7e909855a2d0d544449c31b051340f66 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Sun, 12 May 2024 20:29:12 +0200 Subject: [PATCH] refactor: more derives --- src/format.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,