Skip to content

Commit

Permalink
fix(base): Correctly name the LeftRoomUpdate in its debug implementat…
Browse files Browse the repository at this point in the history
…ion (#4487)

Signed-off-by: Damir Jelić <[email protected]>
Co-authored-by: Benjamin Bouvier <[email protected]>
  • Loading branch information
poljar and bnjbvr authored Jan 9, 2025
1 parent b837865 commit 2a954e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/matrix-sdk-base/src/sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ impl LeftRoomUpdate {
#[cfg(not(tarpaulin_include))]
impl fmt::Debug for LeftRoomUpdate {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.debug_struct("JoinedRoom")
f.debug_struct("LeftRoomUpdate")
.field("timeline", &self.timeline)
.field("state", &DebugListOfRawEvents(&self.state))
.field("account_data", &DebugListOfRawEventsNoId(&self.account_data))
Expand Down

0 comments on commit 2a954e3

Please sign in to comment.