diff options
author | D. Scott Boggs <scott@tams.tech> | 2023-02-13 11:19:31 -0500 |
---|---|---|
committer | D. Scott Boggs <scott@tams.tech> | 2023-09-01 07:50:39 -0400 |
commit | d3ca1b5ffb8fa9794b69a591f9417d6cf32a0d98 (patch) | |
tree | 2b61477aac87e55077ef649d524b54c47ac2cb47 | |
parent | 211e87559b4121cf59224c3e38ec189536fc6322 (diff) |
clippy nits
-rw-r--r-- | entities/src/admin/mod.rs | 2 | ||||
-rw-r--r-- | entities/src/announcement.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/entities/src/admin/mod.rs b/entities/src/admin/mod.rs index ecf3883..65817d7 100644 --- a/entities/src/admin/mod.rs +++ b/entities/src/admin/mod.rs @@ -23,6 +23,6 @@ pub mod prelude { pub use super::{ account, dimension, domain, email_domain_block, ip_block, measure, Account, CanonicalEmailBlock, Cohort, CohortFrequency, Dimension, EmailDomainBlock, IpBlock, - Measure, Report, Tag + Measure, Report, Tag, }; } diff --git a/entities/src/announcement.rs b/entities/src/announcement.rs index 3a2d418..74dc133 100644 --- a/entities/src/announcement.rs +++ b/entities/src/announcement.rs @@ -7,7 +7,7 @@ use crate::{custom_emoji::CustomEmoji, status, AccountId, AnnouncementId, Status /// Represents an announcement set by an administrator. /// /// See also [the API documentation](https://docs.joinmastodon.org/entities/Announcement/) -#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] +#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] pub struct Announcement { /// The ID of the announcement in the database. pub id: AnnouncementId, |