From 29463764c1a2c41968ebadd4e25a9d13f9691b02 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 27 Dec 2022 19:08:43 +0100 Subject: [PATCH] Fix clippy: Derive Eq for Data Signed-off-by: Matthias Beyer --- src/data.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data.rs b/src/data.rs index 0861040..04699a7 100644 --- a/src/data.rs +++ b/src/data.rs @@ -4,7 +4,7 @@ use serde::{Deserialize, Serialize}; /// Raw data about mastodon app. Save `Data` using `serde` to prevent needing /// to authenticate on every run. -#[derive(Clone, Debug, PartialEq, Deserialize, Serialize, Default)] +#[derive(Clone, Debug, PartialEq, Eq, Deserialize, Serialize, Default)] pub struct Data { /// Base url of instance eg. `https://botsin.space`. pub base: Cow<'static, str>,