Enable more lints and apply their suggestions

This commit is contained in:
Jonas Platte
2021-10-13 10:24:39 +02:00
parent 09895a20c8
commit 1c4d9af586
13 changed files with 47 additions and 40 deletions

View File

@@ -475,7 +475,7 @@ pub async fn upgrade_room_route(
PduBuilder {
event_type: EventType::RoomTombstone,
content: to_raw_value(&RoomTombstoneEventContent {
body: "This room has been replaced".to_string(),
body: "This room has been replaced".to_owned(),
replacement_room: replacement_room.clone(),
})
.expect("event is valid, we just created it"),