summaryrefslogtreecommitdiff
path: root/src/chunk.rs
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-09-09 07:01:47 +0000
committerLars Wirzenius <liw@liw.fi>2022-09-09 07:01:47 +0000
commit1baa17c93e6cccd6194592076210625364058615 (patch)
treea0f7c194bf97530bd5103229309f7ec554c8ec6f /src/chunk.rs
parent02d6e2e7d8c8b7854a2289f57a9039598b1430fa (diff)
parentf2740c77c3e3d234b724704482e7b0380c2550d4 (diff)
downloadobnam2-1baa17c93e6cccd6194592076210625364058615.tar.gz
Merge branch 'fixes' into 'main'
fix things so ./chec k passes for me again See merge request obnam/obnam!237
Diffstat (limited to 'src/chunk.rs')
-rw-r--r--src/chunk.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chunk.rs b/src/chunk.rs
index 4f604b9..a6abad3 100644
--- a/src/chunk.rs
+++ b/src/chunk.rs
@@ -13,7 +13,7 @@ use std::default::Default;
/// together. The identifier is used to find the chunk, and it's
/// assigned by the server when the chunk is uploaded, so it's not
/// stored in the chunk itself.
-#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)]
+#[derive(Debug, Clone, Serialize, Deserialize, Eq, PartialEq)]
pub struct DataChunk {
data: Vec<u8>,
meta: ChunkMeta,