From 0e8f78d4a2c6ca7adcc1817d731075b4e888b26c Mon Sep 17 00:00:00 2001 From: Hristo Venev Date: Mon, 30 Sep 2019 16:07:41 +0300 Subject: Remove unneeded derives. --- src/proto.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/proto.rs b/src/proto.rs index e546b2f..9f9ea0a 100644 --- a/src/proto.rs +++ b/src/proto.rs @@ -160,7 +160,7 @@ impl Source { } } -#[derive(serde_derive::Serialize, serde_derive::Deserialize, Clone, PartialEq, Eq, Debug)] +#[derive(serde_derive::Serialize, serde_derive::Deserialize)] struct SourceNextRepr { #[serde(default)] servers: Vec, @@ -170,7 +170,7 @@ struct SourceNextRepr { update_at: SystemTime, } -#[derive(serde_derive::Serialize, serde_derive::Deserialize, Clone, PartialEq, Eq, Debug)] +#[derive(serde_derive::Serialize, serde_derive::Deserialize)] struct SourceRepr { #[serde(default)] servers: Vec, -- cgit