From 4d6ed43fba27e18665c63cc90c9fb26d79188e20 Mon Sep 17 00:00:00 2001 From: Enola Knezevic Date: Thu, 25 May 2023 14:07:22 +0200 Subject: [PATCH] derive Clone for enum --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 54c21cb..e684623 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -15,7 +15,7 @@ pub struct ObfCache { pub cache: HashMap<(Sensitivity, Count, Bin), u64>, } -#[derive(PartialEq, Eq, PartialOrd, Ord)] +#[derive(PartialEq, Eq, PartialOrd, Ord, Clone)] pub enum ObfuscateBelow10Mode { Zero, Ten,