diff --git a/backend/libraries/group_community_common/src/bots.rs b/backend/libraries/group_community_common/src/bots.rs index 50e6a3bae7..fdabd3a7ef 100644 --- a/backend/libraries/group_community_common/src/bots.rs +++ b/backend/libraries/group_community_common/src/bots.rs @@ -5,7 +5,7 @@ use serde_repr::{Deserialize_repr, Serialize_repr}; use std::collections::{BTreeMap, BTreeSet}; use types::{BotGroupConfig, TimestampMillis, UserId}; -#[derive(Serialize, Deserialize, Default, Debug)] +#[derive(Serialize, Deserialize, Default)] pub struct GroupBots { bots: BTreeMap, updates: BTreeSet<(TimestampMillis, UserId, BotUpdate)>, @@ -86,7 +86,7 @@ impl GroupBots { } } -#[derive(Serialize_repr, Deserialize_repr, Clone, Copy, Eq, PartialEq, Ord, PartialOrd, Debug)] +#[derive(Serialize_repr, Deserialize_repr, Clone, Copy, Eq, PartialEq, Ord, PartialOrd)] #[repr(u8)] pub enum BotUpdate { Added = 1, diff --git a/backend/libraries/types/src/message_id.rs b/backend/libraries/types/src/message_id.rs index cf0f974bba..febd67f343 100644 --- a/backend/libraries/types/src/message_id.rs +++ b/backend/libraries/types/src/message_id.rs @@ -41,8 +41,6 @@ impl serde::Serialize for MessageId { mod deserialize { use super::MessageId; - // Simple visitor for deserialization from bytes. We don't support other number types - // as there's no need for it. pub(super) struct MessageIdVisitor; impl<'de> serde::de::Visitor<'de> for MessageIdVisitor {