From 827c6d5c83081f2ef439ffa614d6cbf280b44fdd Mon Sep 17 00:00:00 2001 From: Laurenz Stampfl <47084093+LaurenzV@users.noreply.github.com> Date: Sat, 28 Sep 2024 22:59:30 +0200 Subject: [PATCH] add --- src/chunk.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/chunk.rs b/src/chunk.rs index 2deb482..bb79c06 100644 --- a/src/chunk.rs +++ b/src/chunk.rs @@ -10,6 +10,7 @@ use super::*; /// able to write two things at the same time (which isn't possible with a /// single chunk because of the streaming nature --- only one writer can borrow /// it at a time). +#[derive(Debug, Clone, Eq, PartialEq)] pub struct Chunk { pub(crate) buf: Vec, pub(crate) offsets: Vec<(Ref, usize)>,