summary refs log tree commit diff
path: root/ripple
diff options
context:
space:
mode:
authoredef <edef@unfathomable.blue>2022-05-01 17:21:45 +0000
committeredef <edef@unfathomable.blue>2022-05-01 17:21:45 +0000
commit52d504235d0e75994677d67213f196e58a5bb0e6 (patch)
treefa3a049a6cc37fb19da05d1eb62a6351916b1290 /ripple
parent83887753e540d2e7a625717acdd247d79bcda231 (diff)
downloadunf-legacy-52d504235d0e75994677d67213f196e58a5bb0e6.tar.zst
ripple/fossil/chunker: drop unused derives
Free test coverage win! :)

Change-Id: I9bab30e0f0da2810c770cbd8ba5603f0eb2b28e7
Diffstat (limited to 'ripple')
-rw-r--r--ripple/fossil/src/chunker/buz.rs2
-rw-r--r--ripple/fossil/src/chunker/mod.rs1
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],
 }