From 738d97d65fb196653316846537c3e9e396287c5f Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 27 Dec 2022 19:05:05 +0100 Subject: [PATCH] Fix clippy: Derive Eq for Stats Signed-off-by: Matthias Beyer --- src/entities/instance.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entities/instance.rs b/src/entities/instance.rs index 755afd5..d520170 100644 --- a/src/entities/instance.rs +++ b/src/entities/instance.rs @@ -39,7 +39,7 @@ pub struct StreamingApi { } /// Statistics about the Mastodon instance. -#[derive(Debug, Clone, Copy, Deserialize, Serialize, PartialEq)] +#[derive(Debug, Clone, Copy, Deserialize, Serialize, PartialEq, Eq)] pub struct Stats { user_count: u64, status_count: u64,