diff options
Diffstat (limited to 'ripple')
-rw-r--r-- | ripple/fossil/src/chunker/buz.rs | 2 | ||||
-rw-r--r-- | ripple/fossil/src/chunker/mod.rs | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/ripple/fossil/src/chunker/buz.rs b/ripple/fossil/src/chunker/buz.rs index 7e10b9f..377f4f8 100644 --- a/ripple/fossil/src/chunker/buz.rs +++ b/ripple/fossil/src/chunker/buz.rs @@ -3,7 +3,6 @@ use std::mem; -#[derive(Copy, Clone, PartialEq, Eq, Hash)] pub struct Hash(pub u32); impl Hash { @@ -16,7 +15,6 @@ impl Hash { } } -#[derive(Clone)] pub struct Rolling<const N: usize> { i: usize, x: u32, diff --git a/ripple/fossil/src/chunker/mod.rs b/ripple/fossil/src/chunker/mod.rs index 3451990..108d5de 100644 --- a/ripple/fossil/src/chunker/mod.rs +++ b/ripple/fossil/src/chunker/mod.rs @@ -14,7 +14,6 @@ fn discriminator_from_average(avg: u64) -> u32 { (avg / (-1.42888852e-7 * avg + 1.33237515)) as u32 } -#[derive(Clone)] pub struct Chunker<'a> { buffer: &'a [u8], } |