mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-12 18:21:21 -04:00
fix(base): Correctly name the LeftRoomUpdate in its debug implementation (#4487)
Signed-off-by: Damir Jelić <poljar@termina.org.uk> Co-authored-by: Benjamin Bouvier <benjamin@bouvier.cc>
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user