From 26ee3baeb1792315d9bd0dbba2c8e270a7796f1a Mon Sep 17 00:00:00 2001 From: Ricardo Pescuma Domenecci Date: Wed, 8 Mar 2023 03:00:09 -0300 Subject: [PATCH] Derive clone for Rabin64 --- src/rolling_hash.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rolling_hash.rs b/src/rolling_hash.rs index ca5fa08..e73ae01 100644 --- a/src/rolling_hash.rs +++ b/src/rolling_hash.rs @@ -12,6 +12,7 @@ pub trait RollingHash64 { fn get_hash(&self) -> &Polynom64; } +#[derive(Clone)] pub struct Rabin64 { // Configuration window_size: usize, // The size of the data window used in the hash calculation.