From 307abfa167cd898f112472bc33a13b17a326c676 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Fri, 9 Sep 2022 09:11:44 +0300 Subject: chore: tidy up things to satisfy clippy Sponsored-by: author --- src/chunk.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/chunk.rs') 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, meta: ChunkMeta, -- cgit v1.2.1