cargo fmt

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2023-12-25 11:04:17 -05:00 committed by June
parent 89c3679e9a
commit 14fc20e31e
2 changed files with 2 additions and 2 deletions

View file

@ -673,7 +673,7 @@ pub async fn upgrade_room_route(
// "creator" key no longer exists in V11 rooms // "creator" key no longer exists in V11 rooms
create_event_content.remove("creator"); create_event_content.remove("creator");
} }
_ => panic!("Unexpected room version {}", body.new_version) _ => panic!("Unexpected room version {}", body.new_version),
} }
create_event_content.insert( create_event_content.insert(

View file

@ -437,7 +437,7 @@ impl Service {
self.redact_pdu(redact_id, pdu)?; self.redact_pdu(redact_id, pdu)?;
} }
} }
_ => panic!("Unexpected room version {}", room_version_id) _ => panic!("Unexpected room version {}", room_version_id),
}; };
} }
TimelineEventType::SpaceChild => { TimelineEventType::SpaceChild => {