mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-18 13:40:55 -04:00
chore(sdk): Remove useless custom Debug impl.
This commit is contained in:
@@ -180,7 +180,7 @@ impl EventTimelineItem {
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone)]
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct LocalEventTimelineItem {
|
||||
/// The transaction ID.
|
||||
pub transaction_id: OwnedTransactionId,
|
||||
@@ -209,18 +209,6 @@ impl From<LocalEventTimelineItem> for EventTimelineItem {
|
||||
}
|
||||
}
|
||||
|
||||
impl fmt::Debug for LocalEventTimelineItem {
|
||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
f.debug_struct("LocalEventTimelineItem")
|
||||
.field("transaction_id", &self.transaction_id)
|
||||
.field("event_id", &self.event_id)
|
||||
.field("sender", &self.sender)
|
||||
.field("timestamp", &self.timestamp)
|
||||
.field("content", &self.content)
|
||||
.finish_non_exhaustive()
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct RemoteEventTimelineItem {
|
||||
/// The event ID.
|
||||
|
||||
Reference in New Issue
Block a user