From 990a7e5f7c7adcd3c9184302ac7fb30b9bc18c21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Nerma?= Date: Wed, 6 Dec 2023 14:11:16 +0100 Subject: [PATCH] Fix: remove duplicate derive --- src/history/item.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/history/item.rs b/src/history/item.rs index 8cdf8bab..adc15597 100644 --- a/src/history/item.rs +++ b/src/history/item.rs @@ -52,7 +52,7 @@ impl From for i64 { /// This trait represents additional arbitrary context to be added to a history (optional, see [`HistoryItem`]) pub trait HistoryItemExtraInfo: Serialize + DeserializeOwned + Default + Send {} -#[derive(Clone, Copy, Default, Debug, PartialEq, Eq, Serialize, Deserialize)] +#[derive(Clone, Copy, Default, Debug, PartialEq, Eq)] /// something that is serialized as null and deserialized by ignoring everything pub struct IgnoreAllExtraInfo;