summaryrefslogtreecommitdiff
path: root/src/chunk.rs
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-09-09 09:11:44 +0300
committerLars Wirzenius <liw@liw.fi>2022-09-09 09:11:44 +0300
commit307abfa167cd898f112472bc33a13b17a326c676 (patch)
treeedcc62b1e2fcbd294f5e09e4fbf47c845eb519dd /src/chunk.rs
parent02d6e2e7d8c8b7854a2289f57a9039598b1430fa (diff)
downloadobnam2-307abfa167cd898f112472bc33a13b17a326c676.tar.gz
chore: tidy up things to satisfy clippy
Sponsored-by: author
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,