mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 07:41:23 +01:00
stop putting comments and code on the same line
This commit is contained in:
parent
0915aba44c
commit
1911ad34d9
35 changed files with 305 additions and 142 deletions
|
|
@ -163,7 +163,8 @@ pub(crate) async fn create_room_route(
|
|||
})?,
|
||||
);
|
||||
}
|
||||
RoomVersionId::V11 => {} // V11 removed the "creator" key
|
||||
// V11 removed the "creator" key
|
||||
RoomVersionId::V11 => {}
|
||||
_ => unreachable!("Validity of room version already checked"),
|
||||
}
|
||||
|
||||
|
|
@ -790,7 +791,8 @@ pub(crate) async fn upgrade_room_route(
|
|||
.room_state_get(&body.room_id, &event_type, "")?
|
||||
{
|
||||
Some(v) => v.content.clone(),
|
||||
None => continue, // Skipping missing events.
|
||||
// Skipping missing events.
|
||||
None => continue,
|
||||
};
|
||||
|
||||
services()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue