Fix clippy: Derive Eq for Data

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
Matthias Beyer 2022-12-27 19:08:43 +01:00
parent afb3f59fc7
commit 29463764c1
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -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>,